- Notifications
You must be signed in to change notification settings - Fork9.8k
mnist: support --model-path and --load-model#1388
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
If specify --load-model will only run test(), if specify --model-path=A,the saved model will be renamed to A.Example: python main.py --save-model --model-path=mnist_cnn.pt python main.py --load-model=mnist_cnn.ptSigned-off-by: Rong Tao <rongtao@cestc.cn>
Hi@Rtoax! Thank you for your pull request and welcome to our community. Action RequiredIn order to mergeany pull request (code, docs, etc.), werequire contributors to sign ourContributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign athttps://code.facebook.com/cla.If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, thepull request will be tagged with If you have received this in error or have any questions, please contact us atcla@meta.com. Thanks! |
netlifybot commentedAug 26, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
✅ Deploy Preview forpytorch-examples-preview canceled.
|
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks! |
Rtoax commentedAug 28, 2025
@smartkiwi Could you review this PR? thanks a lot. |
If specify --load-model will only run test(), if specify --model-path=A, the saved model will be renamed to A.
Example: