-
Notifications
You must be signed in to change notification settings - Fork 84
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
got an error #19
Comments
Please check the tf version. This repo was implemented in tf 1.4.1 and python 2.7 |
Thank you for your reply. I have solved this problem. But then I had another problem: I used two 2080Tis to run the program, but it was still out of memory. I tried to compress the capsule, but the effect was not ideal, and did not achieve the accuracy you achieved. So I want to ask you what kind of equipment you use to implement this project? |
This repo should not have the out-of-memory issue, because the number of labels and batch size are quite small, meaning that the routing is not expensive to run. I ran capsule-A with 1 GPU card (nvidia 1080) if I remember correctly. |
Okay, I'll check it again in case I miss any details. Thanks very much. |
Sure thing. Good luck! |
Thank you for sharing, but when I run your code, there is an error: ValueError: Dimensions must be equal, but are 84840 and 16 for 'capsule_3/conv2/add_2' (op: 'Add') with input shapes : [84840,16,48], [84840,16,16,16,48]. I changed the input data, but nothing else changed. Could you give me some suggestions?
The text was updated successfully, but these errors were encountered: