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
version: version name of the target bundle to download, like: "0.1.0". If `None`, will download
the current behavior is to download the latest version of the bundle available in monaihosting.
This potentially introduces an issue if user is using an older version of monai (for example, 1.3) to download a newer version of bundle (e.g. bundles developed by 1.4 and incompatible with 1.3).
On top of 1, we can consider adding a feature to further find a matched version that's compatible with the monai in user's environment. This can be implemented by iterating the metadata.json in different version of the bundle and settle once the monai_version is equal or lower than the version in the environment.
The text was updated successfully, but these errors were encountered:
On top of 1, we can consider adding a feature to further find a matched version that's compatible with the monai in user's environment. This can be implemented by iterating the metadata.json in different version of the bundle and settle once the monai_version is equal or lower than the version in the environment.
Implementation requires
support of single file (configs/metadata.json) fetching from the download source.
Is your feature request related to a problem? Please describe.
When
version
is not specified in the bundle download:MONAI/monai/bundle/scripts.py
Line 395 in 46e2b0e
the current behavior is to download the latest version of the bundle available in
monaihosting
.This potentially introduces an issue if user is using an older version of monai (for example, 1.3) to download a newer version of bundle (e.g. bundles developed by 1.4 and incompatible with 1.3).
Describe the solution you'd like
When the download is complete, check the
monai_version
in the bundle metadata. Show a warning to the user, if themonai_version
is larger than the current monai version used in the user's environmenthttps://github.com/Project-MONAI/model-zoo/blob/69572515b848dfbd84640125e88b4f709f07d625/models/brats_mri_axial_slices_generative_diffusion/configs/metadata.json#L16
On top of 1, we can consider adding a feature to further find a matched version that's compatible with the monai in user's environment. This can be implemented by iterating the
metadata.json
in different version of the bundle and settle once themonai_version
is equal or lower than the version in the environment.The text was updated successfully, but these errors were encountered: