keras_to_tensorflow
keras_to_tensorflow copied to clipboard
Conversion error
ValueError: Improper config format: {'l1': 0.0, 'name': 'WeightRegularizer', 'l2': 0.0005000000237487257} How to deal with this error i am using python3.x
@ab-bh
The regularization weight can never be zero. If the regularizer has a weight of zero, it is as if there is no regularizer.
I am wondering if the l1:0 value was intentionally set by you in your network design, or keras did that as you had not set any values for l1 regularizer. I assume it is the former; however, in case of the latter please let me know.
i was trying to convert model weights which was trained by someone else for my tensorflow model. the link to download the model weights can be found below: wget https://s3.amazonaws.com/stratospark/food-101/model4b.10-0.68.hdf5 I have no idea how the creator of this model weights initialised the weight parameters. You can also have a look by downloading the weights yourself and giving it a try!!! Will be great if you can help!!!