tensorflow2以上models训练object detection出错
tensorflow2.0的代码,但是models的bipartite_matcher.py文件中出现了import tensorflow.compat.v1 as tffrom tensorflow.contrib.image.python.ops import image_ops但是tensorflow2.0中没有contrib模块。导致不能运行,既不能在tf2.0中运行,也不能在tf1.x中
·
tensorflow2.0的代码,但是models的bipartite_matcher.py文件中出现了
import tensorflow.compat.v1 as tf
from tensorflow.contrib.image.python.ops import image_ops
但是tensorflow2.0中没有contrib模块。导致不能运行,既不能在tf2.0中运行,也不能在tf1.x中运行。github上的讨论https://github.com/tensorflow/models/issues/8564
更多推荐
已为社区贡献2条内容
所有评论(0)