Skip to content
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

Code stuck at testing #48

Open
gSingh-maker opened this issue Jun 21, 2022 · 0 comments
Open

Code stuck at testing #48

gSingh-maker opened this issue Jun 21, 2022 · 0 comments

Comments

@gSingh-maker
Copy link

gSingh-maker commented Jun 21, 2022

Latest issue : no change in test.py, except manually coding the best_file_name. No change in test.sh.
image

Below is the earlier issues I faced, probably we can ignore them, if we have the solution for above.:
downloaded the data_depth_selection, unzipped it, and then ran the following command :
image

The o/p is :
image
Ignore the line numbers. I use them inside test.py for debugging.
I changed the default value for --input_type inside test.py from "rgb", to "depth".

If I keep the --input_type to '"rgb" as default, I get the following o/p :
image

Could it be some issue with channel ? I see that depth_images in KItti dataset are 16 bit-depth (acc. to my understanding, that is equal to 2 channels), and rgb are 4 bit-depth (3 channels), whereas in test.py, its channel_in=1 for depth and 4 for rgb.

For input_type = 'rgb', channel_in=3, the o/p is:
image

I used the solution, pasted below, from this website https://discuss.pytorch.org/t/tensor-size-mismatch/31897/2
image
In test.py, for input_type = 'depth', channel_in=2
In test.sh, I changed the removed the highlighted part :
image
to the following
image
O/p :
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant