Skip to content

MAISI load_unet func misses the load of scale_factor for finetune training #1935

Open
@shengzhang90

Description

@shengzhang90

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.

Activity

Can-Zhao

Can-Zhao commented on Mar 21, 2025

@Can-Zhao
Contributor

Yes, that is helpful! Thank you! We will modify it

self-assigned this
on Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @shengzhang90@Can-Zhao

      Issue actions

        MAISI load_unet func misses the load of scale_factor for finetune training · Issue #1935 · Project-MONAI/tutorials