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

Output seems to be not right #100

Open
mohanen opened this issue Oct 16, 2018 · 3 comments
Open

Output seems to be not right #100

mohanen opened this issue Oct 16, 2018 · 3 comments

Comments

@mohanen
Copy link

mohanen commented Oct 16, 2018

Hi

I ran the stereoDNN in TX2 with the image given in the sample app and the output doesn't seem to be right.

nvidia@tegra-ubuntu:~/mohanen/stereoDNN/bin$ ./nvstereo_sample_app nvsmall 513 161 ../models/NVTiny/TensorRT/trt_weights_fp16.bin ../sample_app/data/img_left.png ../sample_app/data/img_right.png disp fp16

img_left
img_right

Output
disp

Can anyone let me know what seems to be the problem here ..

Thanks and Regards,
Mohanen B

@Alexey-Kamenev
Copy link
Collaborator

At the moment, the only network that correctly handles FP16 is ResNet18_2D.

The history is a little bit complicated: Stereo DNN code was originally released for TensorRT 3.0 where all networks were working fine, though not fully utilizing FP16 potential. In TRT 4.0, there were some changes which enabled proper FP16 support (and close to 2x speedup) in plugins given the plugins opt-in. We did not have time to update all of our plugins, so other networks will not work properly in FP16.

@mohanen
Copy link
Author

mohanen commented Oct 23, 2018

Ok, I am able to get the output in fp32 with NVTiny

@XKXV-rose
Copy link

hi, i have a problem. when i execute nvstereo_sample_app, there is a error: cannot execute binary file. i have do "chmod 777 file" . i cannot solve it, could help me, thank u

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

3 participants