You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 22, 2024. It is now read-only.
Yes, the code does not currently support ZeroPadding2D layers. I suggest modifying either the 'Model' or 'CNNModel' classes in cnn_bounds_full.py or cnn_bounds_full_core.py respectively. One way to to this might be to modify the '__init__' function so that when a padding layer is encountered, it modifies 'self.pads' for the next layer. This way, I think the rest of the code can be used as is.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I'm trying to certify a model I have trained in pytorch, and then converted to keras. I am using run_cnn in pymain.py, but I'm getting the error:
"ValueError: Invalid Layer Type"
because of the layer:
"tensorflow.python.keras.layers.convolutional.ZeroPadding2D"
Is this layer not currently supported in your code? Do you have any suggestions on how to modify the code to get past this?
The text was updated successfully, but these errors were encountered: