Download docs/test.sh from MONAI/segmentation_template: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/MONAI/segmentation_template/resolve/main/docs/test.sh
- Command line
-
hf download hf://MONAI/segmentation_template/docs/test.sh
-
curl -L -o test.sh https://huggingface.co/MONAI/segmentation_template/resolve/main/docs/test.sh
391 Bytes
| eval "$(conda shell.bash hook)" | |
| conda activate monai | |
| homedir="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
| BUNDLE="$(cd "$homedir/.." && pwd)" | |
| echo "Bundle root: $BUNDLE" | |
| export PYTHONPATH="$BUNDLE" | |
| python -m monai.bundle run \ | |
| --meta_file "$BUNDLE/configs/metadata.json" \ | |
| --config_file "$BUNDLE/configs/test.yaml" \ | |
| --bundle_root "$BUNDLE" \ | |
| $@ | |