-
Notifications
You must be signed in to change notification settings - Fork 6
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
Inconsistent shapes error #2
Comments
@seemababbasi Please consider reshaping the output from first capsule network. Also, please let me know the input shape to know what could have been the issue. |
The problem is the version of Keras and Tensorflow. I use Keras==2.2.0 and tensorflow 1 and it solved that error |
Hello @laurajsantos can you please mention the specific version for tensorflow 1 even. Thanks in advance. |
My error was resolved using the following imports on Google Colab
|
Hello bro please can you say how to run the folder path = './ColonLungCancer' #Provide image path here! IF I RUN THE FOLDER WHICH IS SAVED ON DESKTOP IAM GETTING : Reading Dataset from Pickle Object BUT THE SIZE: (0,) |
Which python version is needed in order to install above mentioned Keras and Tensorflow versions? |
In 3.6.5 - tensorflow got installed, but unable to import cv2. |
Dear Friend, you have done a nice work. I have a problem during training the model. The error is ValueError: Inconsistent shapes: saw (6272, 2, 1, 2, 18) but expected (6272, 2, 1, 18)
I have tried multiple times but failed to solve this problem.
\
Regards
Seemab
The text was updated successfully, but these errors were encountered: