-
Notifications
You must be signed in to change notification settings - Fork 81
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
Getting dimension mismatch error #31
Comments
Based on what I see, there are some issues with the dimension of wa. |
Hello! Sorry for the delay.
I am getting the following output: (76800,) What do you think? Really appreciate you response. |
Hello, I would like to ask, has this problem been solved, or is this project actually not working through? |
It works for me |
In numpy_spatial_transform line 90, it says:
wa = np.expand_dims(wa, 2)
and I am getting the following error:
I have tried changing the second argument in expand_dims to:
1 - it works but crashes with image error in generating synthetic dataset with following error:
Error with image: /home/yatharth/Desktop/CL/unsupervisedDeepHomographyRAL2018/test/test_synth
0 - doesnt work with following error:
File "/home/yatharth/Desktop/CL/unsupervisedDeepHomographyRAL2018/code/utils/numpy_spatial_transformer.py", line 96, in _interpolate
out = waIa + wbIb + wcIc + wdId
ValueError: operands could not be broadcast together with shapes (1,76800) (76800,3)
I am using a smaller number of images from COCO dataset itself for debugging so I am not sure if there is any expectation mismatch or correction in input images. Can somebody please clarify and help me with the issue here?
Thanks in advance!
The text was updated successfully, but these errors were encountered: