Project-MONAI / model-zoo

MONAI Model Zoo that hosts models in the MONAI Bundle format.
Apache License 2.0
174 stars 65 forks source link

Segment Template #514

Closed ericspod closed 9 months ago

ericspod commented 9 months ago

Fixes #513 .

Description

This is the template for segmentation bundles. Users can create their own new bundles by copying and adapting this one.

Multi-GPU support is a work in progress, it doesn't work for me but it should be fine.

Status

Ready

Please ensure all the checkboxes:

wyli commented 9 months ago

/build

yiheng-wang-nv commented 9 months ago

/build

yiheng-wang-nv commented 9 months ago

We may also think about how to check if the whole .yaml files do not have typo or syntax issues. It seems we cannot use similar unit tests on this template bundle. cc @wyli @KumoLiu @Nic-Ma

ericspod commented 9 months ago

We may also think about how to check if the whole .yaml files do not have typo or syntax issues. It seems we cannot use similar unit tests on this template bundle.

For this we can simply run any YAML file through pyyaml, any JSON file through the in-built json library, and then further check any Python expressions by attempting to parse them with the in-built ast library. This would do a static check without running the code that should be good enough to catch most things.

wyli commented 9 months ago

/build