-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meeting an error #5
Comments
check your ~/.keras/keras.json. |
I used you model on a 224*224 RGB dataset ,and get a error of "loss = nan" or both loss and acc don't changes . |
@FlyDogFan "loss not change" seems like capsule's problem, not my implement~ you can try to replace K.epsilon() with 1e-3 in squash function in Capsule_Keras.py to solve nan problem. |
I used you model on a 60*80 RGB dataset ,and get a error of acc don't changes . @bojone |
Thank you. After change the squash function. The model work properly. |
The program is leaving me an error while running
For "cnn = Conv2D(64, (3, 3), activation='relu')(input_image)" in line 41
An error returns like
"ValueError: The channel dimension of the inputs should be defined. Found
None
."Keras version == 2.1.5
Thanks for your contribution!~
The text was updated successfully, but these errors were encountered: