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

Add Ghostnet && Fix object destruction order in APIToModel function to avoid undefined behavior #1581

Merged
merged 8 commits into from
Oct 9, 2024

Conversation

Phoenix8215
Copy link
Contributor

@Phoenix8215 Phoenix8215 commented Sep 28, 2024

  • add new model——ghostnetV1&ghostnetV2
  • fixed the order of object destruction in mobileNet. The original code destroyed the engine before the builder, leading to undefined behavior. The destruction order is now corrected by first destroying the engine, followed by the builder.🥰

@Phoenix8215 Phoenix8215 changed the title Add Ghostnet Add Ghostnet && Fix object destruction order in APIToModel function to avoid undefined behavior Oct 6, 2024
@wang-xinyu
Copy link
Owner

@Phoenix8215
Pls fix the pre-commit errors, you can refer to https://github.com/wang-xinyu/tensorrtx/blob/master/tutorials/contribution.md

Thanks for you contribution!

@Phoenix8215
Copy link
Contributor Author

Hi @wang-xinyu,

I have resolved the pre-commit errors as requested. You can review the latest commits to verify the changes.

Thank you for your guidance and support!💞

@wang-xinyu wang-xinyu merged commit b671024 into wang-xinyu:master Oct 9, 2024
1 check passed
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