FCN_via_keras
FCN_via_keras copied to clipboard
ImportError: cannot import name layer_from_config
When I run the "train.py", I face the error as followed:
Does anyone know how to fix it?
The import should be changed to the following:
# from keras.utils.layer_utils import layer_from_config
from keras.layers import deserialize as layer_from_config
Downgrading to Keras version 1.2.2 cleared that error for me.