-
Notifications
You must be signed in to change notification settings - Fork 232
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
Apply trained network to image of other resolutions #49
Comments
I also find that the example input are gray-scale images, I want to know what kind of preprocess I should do on colorful images before I use them on the network? |
hi, have you discovered anything? I tried to change the images on the samples folder to some of my images, but with the same format and resolution (1266x370) and also in grayscale, and I`m having the error: luajit: ./main.lua:1124: bad argument #2 to '?' (sizes do not match at /home/lucas/torch/extra/cutorch/lib/THC/generic/THCTensorCopy.c:48) Tks. |
That won't be a problem if your left and right images are in the same size and "png grayscale". I've tried for different image sets. Use the given command line and replace your image path and correct disparity: |
Hello! I want to know how can I apply the trained network to images with other resolutions? I notice it's 1266x370, how can I apply this to middlebury dataset?
The text was updated successfully, but these errors were encountered: