Project-MONAI / Project-MONAI/tutorials

MAISI load_unet func misses the load of scale_factor for finetune training

Open
#1,935 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.