Project-MONAI / tutorials

MONAI Tutorials
https://monai.io/started.html
Apache License 2.0
1.85k stars 682 forks source link

AutoRunner demo needs to set auto_scale_allowed to False #1679

Closed mingxin-zheng closed 7 months ago

mingxin-zheng commented 7 months ago

Describe the bug

Auto3DSeg demo sets num_epoch to 2 for demo purposes. However, multiple templates use auto_scale and it seems they don't allow the override of num_epochs

To Reproduce TBD

Expected behavior When the user sets num_epochs to 2, the demo should run only 2 epochs

mingxin-zheng commented 7 months ago

Hi @dongyang0122 , for example, in dints, we have this. What do you think the behavior should be if we set the num_epochs explictly?

https://github.com/Project-MONAI/research-contributions/blob/9c95bff194e3cdb979706[…]6160ec0ee2/auto3dseg/algorithm_templates/dints/scripts/train.py