Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
Rtoax wants to merge1 commit intopytorch:main
base:main
Choose a base branch
Loading
fromRtoax:mnist-load-model

Conversation

@Rtoax
Copy link

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.ptpython main.py --load-model=mnist_cnn.pt

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>
@meta-cla
Copy link

Hi@Rtoax!

Thank you for your pull request and welcome to our community.

Action Required

In 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.

Process

In 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 withCLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us atcla@meta.com. Thanks!

@netlify
Copy link

netlifybot commentedAug 26, 2025
edited
Loading

Deploy Preview forpytorch-examples-preview canceled.

NameLink
🔨 Latest commitbb63a74
🔍 Latest deploy loghttps://app.netlify.com/projects/pytorch-examples-preview/deploys/68ad90b473d4310007e01fa7

@meta-cla
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

@Rtoax
Copy link
Author

@smartkiwi Could you review this PR? thanks a lot.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@Rtoax

[8]ページ先頭

©2009-2025 Movatter.jp