当前位置: 代码迷 >> 综合 >> Using TensorFlow backend. Traceback (most recent call last): File train.py, line 9, in module
  详细解决方案

Using TensorFlow backend. Traceback (most recent call last): File train.py, line 9, in module

热度:20   发布时间:2024-01-12 22:27:45.0

yolo程序里报错

Using TensorFlow backend.

Traceback (most recent call last):

  File "train.py", line 9, in <module>

    from generator import BatchGenerator

  File "/home/zxy/GraduationDesign/hoop-detect/keras-yolo3-master/generator.py", line 4, in <module>

    from keras.utils import Sequence

ImportError: cannot import name 'Sequence'

 

 

解决:pip install keras==2.0.8

  相关解决方案