Skip to content

Onnx model export fix#583

Open
deepak046 wants to merge 1 commit intoRangiLyu:mainfrom
deepak046:onnx-export-bug
Open

Onnx model export fix#583
deepak046 wants to merge 1 commit intoRangiLyu:mainfrom
deepak046:onnx-export-bug

Conversation

@deepak046
Copy link

Fixed the _forward_onnx class function in multiple model heads by removing the sigmoid activations on the class predictions and directly concatenating it with the reg predictions. Doing this, the pytorch model output matches exactly with the onnx exported output.

Fixed the _forward_onnx class function in multiple model heads by removing the sigmoid activations on the class predictions and directly concatenating it with the reg predictions. Doing this, the pytorch model output matches exactly with the onnx exported output.
@kundanSingh11
Copy link

But prediction score is messed up previously it was 0.0 - 0.99 now 0.0 - 3.00

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

Successfully merging this pull request may close these issues.

2 participants