Skip to content

TensorRT encountered issues when converting weights between types and that could affect accuracy #11

Description

@JS901

Hi @mingj2021.

When I export the model with demo.py, I get the following warning. Is this what you would expect?

[TRT] [W] TensorRT encountered issues when converting weights between types and that could affect accuracy.
[TRT] [W] If this is not the desired behavior, please modify the weights or retrain with regularization to adjust the magnitude of the weights.
[TRT] [W] Check verbose logs for the list of affected weights.
[TRT] [W] - 77 weights are affected by this issue: Detected subnormal FP16 values.
[TRT] [W] - 18 weights are affected by this issue: Detected values less than smallest positive FP16 subnormal value and converted them to the FP16 minimum subnormalized value.

You mention that you are not maintaining this repo any longer. I was wondering whether you successfully tested inference with the exported model?

Also, please let me know whether there is any additional useful information to get a full TRT SAM model up and running.

Many thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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