Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot import name 'transpose_shape' from 'keras.utils.generic_utils' #753

Open
skywo1f opened this issue Jun 14, 2021 · 0 comments
Open

Comments

@skywo1f
Copy link

skywo1f commented Jun 14, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant