模块'tensorflow.python.keras'

时间:2019-05-27 11:57:25

标签: python

模块'tensorflow.python.keras'

Traceback (most recent call last):

_run_module_as_main中的文件“ /usr/lib/python2.7/runpy.py”,第162行  “ 主要”,fname,加载程序,pkg_name)   _run_code中的文件“ /usr/lib/python2.7/runpy.py”,第72行         run_globals中的exec代码       在第51行的“ /root/.local/lib/python2.7/site-packages/object_detection/train.py”文件中   从object_detection.builders导入model_builder       在第22行的“ /root/.local/lib/python2.7/site-packages/object_detection/builders/model_builder.py”文件中         从object_detection.builders导入box_predictor_builder       文件“ /root/.local/lib/python2.7/site-packages/object_detection/builders/box_predictor_builder.py”,第20行,在     从object_detection.predictors导入convolutional_box_predictor       在第19行的“ /root/.local/lib/python2.7/site-packages/object_detection/predictors/convolutional_box_predictor.py”文件中         从object_detection.core导入box_predictor       在第137行的“ /root/.local/lib/python2.7/site-packages/object_detection/core/box_predictor.py”文件中         类KerasBoxPredictor(tf.keras.Model):     AttributeError:“模块”对象没有属性“ keras”

AttributeError:“模块”对象没有属性“ keras”

0 个答案:

没有答案