2021-06-14 08:42:02.732548: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
Using TensorFlow backend.
Traceback (most recent call last):
File "yolo_video.py", line 5, in
from yolo import YOLO, detect_video
File "/home/iviti/neural-nets/YOLOv3_digits/yolo.py", line 12, in
from keras.models import load_model
File "/home/iviti/.local/lib/python3.8/site-packages/keras/init.py", line 25, in
from keras import models
File "/home/iviti/.local/lib/python3.8/site-packages/keras/models.py", line 19, in
from keras import backend
File "/home/iviti/.local/lib/python3.8/site-packages/keras/backend/init.py", line 89, in
from .tensorflow_backend import *
File "/home/iviti/.local/lib/python3.8/site-packages/keras/backend/tensorflow_backend.py", line 24, in
from ..utils.generic_utils import transpose_shape
ImportError: cannot import name 'transpose_shape' from 'keras.utils.generic_utils' (/home/iviti/.local/lib/python3.8/site-packages/keras/utils/generic_utils.py)
2021-06-14 08:42:02.732548: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0 Using TensorFlow backend. Traceback (most recent call last): File "yolo_video.py", line 5, in
from yolo import YOLO, detect_video
File "/home/iviti/neural-nets/YOLOv3_digits/yolo.py", line 12, in
from keras.models import load_model
File "/home/iviti/.local/lib/python3.8/site-packages/keras/init.py", line 25, in
from keras import models
File "/home/iviti/.local/lib/python3.8/site-packages/keras/models.py", line 19, in
from keras import backend
File "/home/iviti/.local/lib/python3.8/site-packages/keras/backend/init.py", line 89, in
from .tensorflow_backend import *
File "/home/iviti/.local/lib/python3.8/site-packages/keras/backend/tensorflow_backend.py", line 24, in
from ..utils.generic_utils import transpose_shape
ImportError: cannot import name 'transpose_shape' from 'keras.utils.generic_utils' (/home/iviti/.local/lib/python3.8/site-packages/keras/utils/generic_utils.py)