-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Porting of MedNIST DDPM model-zoo from MONAI Generative #721
base: dev
Are you sure you want to change the base?
Conversation
…erify_bundle to pass the check for model.pt, since the requirement for two models (autoencoder and diffusion_model) makes sense for them to keep their specific names. Modification of inference.json to add dummy attributes to pass the ConfigWorkflow check. Modification of large_files.yml so that models are .pt and not .pth.
for more information, see https://pre-commit.ci
val_mean_abs_error: | ||
_target_: MeanAbsoluteError | ||
output_transform: $monai.handlers.from_engine([@pred, @label]) | ||
metric_cmp_fn: '$scripts.inv_metric_cmp_fn' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you wanted to add operator
to your imports you could do metric_cmp_fn: '$operator.lt'
and eliminate the code definition. I think this will work just fine but needs checking.
Add LICENSE file.
/build |
|
Hi @virginiafdez, you can also try this check locally. |
The issue here is that the CICD test isn't loading both common.yaml and inference.yaml I think? It needs common.yaml for the definitions, maybe we should just copy those definitions into the other files for now. |
Yes, for now CICD didn't take the common.yaml into consideration. We may need enhance the CICD or directly copy the things out for now. |
I spoke to @virginiafdez and we'll copy the contents of |
Description
Initial porting from the Generative model-zoo of the mednist-ddpm model (https://github.com/Project-MONAI/GenerativeModels/tree/main/model-zoo/models/mednist_ddpm/bundle).
The bundle files are tested within the docs/2d_ddpm_bundle_tutorial.ipynb
Status
Ready
Please ensure all the checkboxes:
version
andchangelog
inmetadata.json
if changing an existing bundle.CONTRIBUTING.md
).monai
,pytorch
andnumpy
are correct inmetadata.json
./home/your_name/
for"bundle_root"
).