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

Set argument image_size configurable in export_model.py #250

Merged
merged 2 commits into from
Dec 22, 2021
Merged

Set argument image_size configurable in export_model.py #250

merged 2 commits into from
Dec 22, 2021

Conversation

Yogurt-Peng
Copy link
Contributor

@Yogurt-Peng Yogurt-Peng commented Dec 22, 2021

Use the following to set the image size of the ONNX model:

python export_model.py --checkpoint_path [path/to/your/model.pt] --image_size 320 320

@CLAassistant
Copy link

CLAassistant commented Dec 22, 2021

CLA assistant check
All committers have signed the CLA.

@zhiqwang zhiqwang added the enhancement New feature or request label Dec 22, 2021
@codecov
Copy link

codecov bot commented Dec 22, 2021

Codecov Report

Merging #250 (eb7241d) into main (5dd25c3) will not change coverage.
The diff coverage is n/a.

❗ Current head eb7241d differs from pull request most recent head 600d25a. Consider uploading reports for the commit 600d25a to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main     #250   +/-   ##
=======================================
  Coverage   93.62%   93.62%           
=======================================
  Files          11       11           
  Lines         675      675           
=======================================
  Hits          632      632           
  Misses         43       43           
Flag Coverage Δ
unittests 93.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5dd25c3...600d25a. Read the comment docs.

Copy link
Owner

@zhiqwang zhiqwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks @2428513107 for your contribution!

@zhiqwang zhiqwang changed the title Update export_model.py Set argument image_size configurable in export_model.py Dec 22, 2021
@zhiqwang zhiqwang merged commit 75ef670 into zhiqwang:main Dec 22, 2021
@zhiqwang zhiqwang added the bug / fix Something isn't working label Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug / fix Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants