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

Changes to be able to convert the .pt model to ONNX and TensorRT formats #91

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Hyrtsi
Copy link

@Hyrtsi Hyrtsi commented Jun 6, 2022

Greetings,

I have created this PR merely to present the changes necessary to be able to use the pre-trained ELG model in TensorRT code. I also added some details to README about installation and software requirements as they were lacking some details.

My PR doesn't necessarily have to be merged on swook/GazeML but I wanted to leave this here to save somebody else time if they want to do the things I did.

Hyrtsi and others added 4 commits April 14, 2022 11:46
disable batch statistics as we are not training
the batch statistics were forgotten to set to False.
the batchnorm function gave some errors with tf2onnx converter

TensorRT does not support uint8 so one output was converted to int64 instead

Add code to save the model to folder tmp
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.

1 participant