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

TAO vs isaac_ros_dnn_inference encoder param mismatch #28

Open
automech-rb opened this issue Mar 1, 2023 · 1 comment
Open

TAO vs isaac_ros_dnn_inference encoder param mismatch #28

automech-rb opened this issue Mar 1, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@automech-rb
Copy link

For models exported by tao toolkit v4.0 (yolov v4 for my case):
It seems like encoder_image_mean and encoder_image_stddev needs to be set to 0 and 1/255 respectively to get any proper inference (thereby nullifying the normalization). When normalizing image between 0 to 1, TAO exported models never output correct predictions.

Is there any way to turn off normalization by a parameter for encoder node?

@jaiveersinghNV jaiveersinghNV self-assigned this Apr 17, 2023
@jaiveersinghNV jaiveersinghNV added the enhancement New feature or request label Apr 17, 2023
@jaiveersinghNV
Copy link
Contributor

As you've observed, the encoder_image_mean and encoder_image_stddev parameters can be set to 0 and 1/255 respectively to effectively turn the normalization step into a no-op.

We will look into adding a more explicit flag for disabling normalization.

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

No branches or pull requests

2 participants