-
Notifications
You must be signed in to change notification settings - Fork 651
ImportError: cannot import name 'normalize_data_format' #298
Comments
Will there be any new release anytime soon to make it compatible with the up-to-date keras version? |
Will there be any new release anytime soon to make it compatible with the up-to-date keras version? +1 |
keras 2.1.6 |
The currently keras-contrib has compatibility with keras2.2.1+, |
@keisen Which is the last keras-contrib version that supports keras 2.2.0 and how can I install it? I don't find any relases in this repo. Current master seems to be 2.0.8. Thank you. |
same question here, how do i know which version of keras-contrib match keras 2.0.8? @maderafunk
that file might locate at "/usr/local/lib/python3.5/dist-packages/keras_contrib/layers/convolutional.py" |
Hi, @maderafunk .
If I made a mistake , sorry. |
Thank you, that works @keisen . |
When I use keras2.2.2 to import the layer instanceNormalization ,the error happened .What should I do?
The full error log like below
File "D:\yuyijie\kerasceshi\keras-yolo3\yolo_IN.py", line 5, in
from keras_contrib.layers.normalization import InstanceNormalization
File "D:\yuyijie\kerasceshi\keras-yolo3\keras_contrib_init_.py", line 4, in
from . import layers
File "D:\yuyijie\kerasceshi\keras-yolo3\keras_contrib\layers_init_.py", line 3, in
from .convolutional import *
File "D:\yuyijie\kerasceshi\keras-yolo3\keras_contrib\layers\convolutional.py", line 15, in
from keras.utils.conv_utils import normalize_data_format
ImportError: cannot import name 'normalize_data_format'
The text was updated successfully, but these errors were encountered: