Skip to content

Code stuck at testing #48

@gSingh-maker

Description

@gSingh-maker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions