You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had tried to do it a month ago or so, but was running into the problem of referencing/interpolating config values from the disabled parts if I remember correctly.
Also, with the latest monai version, % referencing seems to work even less than it did. I should really open an issue about why % (referencing a config item as-is) is not as usable as @ (referencing a config item that is resolved, e.g., instantiated or code executed).
Mentioning this because you should be able to %-reference a disabled config item. Obviously, @-referencing should not work for the disabled config item because it's not being resolved.
ibro45
changed the title
Do not instantiate parts of the system that are unnecessary when performing val/test
Do not instantiate parts of the system that are unnecessary when performing a stage
Mar 28, 2024
When in val, test, or predict mode, optimizers and schedulers aren't necessary.
When running training, no need for test or predict parts. And so on.
The text was updated successfully, but these errors were encountered: