-
Notifications
You must be signed in to change notification settings - Fork 268
Troubleshooting
This means that a dependency used by matplotlib called subprocess32 is not building, which is generally associated with python 2. The way to overcome this issue is by first installing an older version of matplotlib (this is ok):
pip install matplotlib==1.5.3
This might happen on some older systems with python 2. Overcome by first installing an older numpy version:
pip install numpy==1.14.5
This error comes as a result of listing optimizers as string values as opposed to the actual object name in the params dictionary.
When not using lr_normalizer get ValueError: Could not interpret optimizer identifier: <class 'keras.optimizers.Adam'>
This is the reverse of the above; when lr_normalizer is not used, string values for optimizers should be used in the params dictionary.
When using a string value for activation and get TypeError: unsupported operand type(s) for +: 'int' and 'numpy.str_'
For example if the activation is 'relu' and 'elu', then this can be resolved simply by:
from keras.activations import relu, elu
Then instead of using a string value in the params dictionary, use the actual object (e.g. relu).