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 load_pretrain flag in the reference #571

Merged
merged 4 commits into from
Mar 22, 2024

Conversation

KumoLiu
Copy link
Collaborator

@KumoLiu KumoLiu commented Mar 21, 2024

Follow up #559 #561 #565, here introduced the load_pretrain flag. This allows users to decide whether or not to load pre-trained weights when initializing the workflow.

Status

Ready

Please ensure all the checkboxes:

  • Codeformat tests passed locally by running ./runtests.sh --codeformat.
  • In-line docstrings updated.
  • Update version and changelog in metadata.json if changing an existing bundle.
  • Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
  • Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
  • Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
  • Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
  • Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

KumoLiu added 2 commits March 21, 2024 21:39
Signed-off-by: YunLiu <[email protected]>
@yiheng-wang-nv
Copy link
Collaborator

seems there is a format error: https://github.com/Project-MONAI/model-zoo/actions/runs/8376538952/job/22937013894?pr=571#step:7:100
It was produced by another bundle, let me try to fix it

@yiheng-wang-nv
Copy link
Collaborator

/build

@KumoLiu KumoLiu merged commit 74e258e into Project-MONAI:dev Mar 22, 2024
4 checks passed
@KumoLiu KumoLiu deleted the checkpoint branch March 22, 2024 11:39
yiheng-wang-nv added a commit to yiheng-wang-nv/model-zoo that referenced this pull request Jul 29, 2024
Follow up Project-MONAI#559
Project-MONAI#561
Project-MONAI#565, here introduced the
`load_pretrain` flag. This allows users to decide whether or not to load
pre-trained weights when initializing the workflow.

### Status
**Ready**

### Please ensure all the checkboxes:
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Codeformat tests passed locally by running `./runtests.sh
--codeformat`.
- [ ] In-line docstrings updated.
- [ ] Update `version` and `changelog` in `metadata.json` if changing an
existing bundle.
- [ ] Please ensure the naming rules in config files meet our
requirements (please refer to: `CONTRIBUTING.md`).
- [ ] Ensure versions of packages such as `monai`, `pytorch` and `numpy`
are correct in `metadata.json`.
- [ ] Descriptions should be consistent with the content, such as
`eval_metrics` of the provided weights and TorchScript modules.
- [ ] Files larger than 25MB are excluded and replaced by providing
download links in `large_file.yml`.
- [ ] Avoid using path that contains personal information within config
files (such as use `/home/your_name/` for `"bundle_root"`).

---------

Signed-off-by: YunLiu <[email protected]>
Co-authored-by: Yiheng Wang <[email protected]>
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