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

Import pixellib.tune_bg #182

Open
ifist5t9t opened this issue May 18, 2024 · 0 comments
Open

Import pixellib.tune_bg #182

ifist5t9t opened this issue May 18, 2024 · 0 comments

Comments

@ifist5t9t
Copy link

import pixellib
from pixellib.tune_bg import alter_bg
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.11/dist-packages/pixellib/tune_bg/init.py", line 4, in
from pixellib.semantic.deeplab import Deeplab_xcep_pascal
File "/usr/local/lib/python3.11/dist-packages/pixellib/semantic/init.py", line 4, in
from .deeplab import Deeplab_xcep_pascal
File "/usr/local/lib/python3.11/dist-packages/pixellib/semantic/deeplab.py", line 15, in
from tensorflow.python.keras.layers import BatchNormalization
ImportError: cannot import name 'BatchNormalization' from 'tensorflow.python.keras.layers' (/usr/local/lib/python3.11/dist-packages/tensorflow/python/keras/layers/init.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