Skip to content

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

Merged
wang-xinyu merged 8 commits intowang-xinyu:masterfrom
Phoenix8215:ghostnet
Oct 9, 2024
Merged

Add Ghostnet && Fix object destruction order in APIToModel function to avoid undefined behavior #1581
wang-xinyu merged 8 commits intowang-xinyu:masterfrom
Phoenix8215:ghostnet

Conversation

@Phoenix8215
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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!💞

Comment thread mobilenet/mobilenetv2/mobilenet_v2.py
Comment thread mobilenet/mobilenetv3/mobilenet_v3.py
@wang-xinyu wang-xinyu merged commit b671024 into wang-xinyu:master Oct 9, 2024
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