Spaces:
Sleeping
Sleeping
Download Step2_DetectCrop/scripts/run.sh from Hongyang-Li/CARe: direct link, hf CLI and curl.
- Browser
- Download file 630 Bytes
-
https://huggingface.co/spaces/Hongyang-Li/CARe/resolve/main/Step2_DetectCrop/scripts/run.sh
- Command line
-
hf download hf://spaces/Hongyang-Li/CARe/Step2_DetectCrop/scripts/run.sh
-
curl -L -o run.sh https://huggingface.co/spaces/Hongyang-Li/CARe/resolve/main/Step2_DetectCrop/scripts/run.sh
630 Bytes
| set -euo pipefail | |
| SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | |
| STEP_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)" | |
| REPRO_ROOT="$(cd "${STEP_DIR}/.." && pwd)" | |
| PYTHON_BIN="${PYTHON_BIN:-python}" | |
| DATASET_ROOT="${DATASET_ROOT:-${REPRO_ROOT}/../dataset/OCTA-60}" | |
| STEP1_OUTPUT_DIR="${STEP1_OUTPUT_DIR:-${REPRO_ROOT}/Step1_VesselSeg/Output/octa60_rawimages}" | |
| OUTPUT_DIR="${OUTPUT_DIR:-${STEP_DIR}/Output/octa60_wfcfp_refs}" | |
| exec "${PYTHON_BIN}" "${STEP_DIR}/run_detect_crop_octa60.py" \ | |
| --dataset_root "${DATASET_ROOT}" \ | |
| --step1_output_dir "${STEP1_OUTPUT_DIR}" \ | |
| --output_dir "${OUTPUT_DIR}" \ | |
| "$@" | |