Project-MONAI / Project-MONAI/tutorials
MAISI load_unet func misses the load of scale_factor for finetune training
Open
@Can-Zhao is already working on this.
Since Mar 21, 2025.
- Dominant language
- Jupyter Notebook
- Stars
- 2.5k
- Forks
- 803
- Avg merge
- 6d 22h
- Merged PRs (30d)
- 3
Description
Hi,
During the training with scripts/diff_model_train.py file.
Sometimes, the calculate_scale_factor func will output the result of "scale_factor=nan", could you please set and fix the "scale_factor" parameter in certain json file?
Also, for the finetune training, could you please load the "scale_factor" in load_unet func since you have save the "scale_factor" in the save_checkpoint func. Thanks a lot.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.