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

Running on custom datset #6

Open
aakash26 opened this issue Sep 16, 2020 · 10 comments
Open

Running on custom datset #6

aakash26 opened this issue Sep 16, 2020 · 10 comments

Comments

@aakash26
Copy link

Hi Authors,

Thanks on providing the code. Is it possible to run the code on custom stereo video sequences.

Regards
Aakash

@playerkk
Copy link
Contributor

Hi Aakash, Stereo videos are sufficient for stereo disparity and scene flow estimation.

@aakash26
Copy link
Author

aakash26 commented Sep 17, 2020

HI @playerkk ,

Thanks for the quick reply. Yes I understand that. However just to confirm, the stereo camera calibration is required right?.
Also to run for custom video sequence, I can place my stereo pair in /data/image_2 andrun demo.py ?

@playerkk
Copy link
Contributor

It is assumed that two stereo images have been rectified.

You can simply run demo.py with your own images.

@aakash26
Copy link
Author

Hi @playerkk ,

yes while trying to run demo.py with given datset I am getting this error(image attached)
I have made no changes in code or given sample dataset

Regards
Aakash Rajpal
pic

@playerkk
Copy link
Contributor

Hi @aakash26, can you provide more information of your experiment environment? Especially PyTorch version. Thanks.

@aakash26
Copy link
Author

Hi @playerkk,
env

Thanks for the reply. I have attached the screenshot of my python 3.6 environment with torch version 1.3.0.

Regards
Aakash Rajpal

@aakash26
Copy link
Author

Hi @playerkk,

I was looking into the error and the code. I found that the forward module defined in file SceneFlow\SENSE\sense\models\models.py expects 4 image arguments with cur_im beign the only postional argument.

forward error

However, when calling the Model in SceneFlow\tools\demo.py we are only passing 3 images to the Network.

holis
I am not sure if the error is caused due to this or it's something completely opposite.
Thanks for your time

Regards
Aakash Rajpal

@playerkk
Copy link
Contributor

Hi @aakash26, are you running demo.py with your own data or the provided images in this repo? Have you made any modifications to demo.py?Thanks.

@aakash26
Copy link
Author

Hi @playerkk,

Currently I am running on the original images provided with no changes in demo.py. I am running all the original scripts.

Regards
Aakash Rajpal

@aakash26
Copy link
Author

aakash26 commented Oct 16, 2020

Hi @playerkk,

I was able to make it run by giving positional keywords for each image in demo.py (screenshot attached) but the results don't seem that good. However, I wanted to understand the order in which the images are declared in the forward function, like what should be passed for cur_im, nxt_im , right_im , left_im
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

2 participants