Damaple
Damaple
2021-01-21 10:32

如何在不降级tensorflow 2.X情况下运行tf 1.X 程序?

  • python
  • tensorflow
  • 神经网络
Traceback (most recent call last):
  File "bank_sheet.py", line 239, in <module>
    model.train(dataset_train, dataset_val,
  File "/xx/xx/xx/Mask_RCNN-master/mrcnn/model.py", line 2341, in train
    keras.callbacks.TensorBoard(log_dir=self.log_dir,
  File "/usr/local/lib/python3.8/dist-packages/keras/callbacks.py", line 637, in __init__
    from tensorflow.contrib.tensorboard.plugins import projector
ModuleNotFoundError: No module named 'tensorflow.contrib'

 

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

1条回答