Sync vehicle-detection from metro-analytics-catalog
Browse files30 unmodified lines31323334353637383940412 unmodified lines44454647484930 unmodified linesecho "--- Installing dependencies ---"if [[ "${PRECISION}" == "INT8" ]]; thenpip install -qU "openvino>=2026.0.0" "nncf>=3.0.0" ultralyticselsepip install -qU "openvino>=2026.0.0" ultralyticsfiecho "--- Downloading sample test image ---"if [[ ! -f test.jpg ]]; thenwget -q -O test.jpg https://ultralytics.com/images/bus.jpg2 unmodified linesecho "Already present: test.jpg"fiecho "--- Downloading sample test video ---"if [[ ! -f test_video.mp4 ]]; thenwget -q -O test_video.mp4 \30 unmodified lines313233343536373839404142434445464748495051522 unmodified lines555657585960616263646566676869707130 unmodified linesecho "--- Installing dependencies ---"if [[ "${PRECISION}" == "INT8" ]]; thenpip install -qU openvino nncf ultralyticselsepip install -qU openvino ultralyticsfi# Ask for approval before downloading models and sample filesecho ""echo "This script will download:"echo " - Model weights and/or sample files"echo ""read -p "Continue with downloads? (yes/no): " APPROVALif [[ "${APPROVAL}" != "yes" ]]; thenecho "Download cancelled by user."exit 0fiecho ""echo "--- Downloading sample test image ---"if [[ ! -f test.jpg ]]; thenwget -q -O test.jpg https://ultralytics.com/images/bus.jpg2 unmodified linesecho "Already present: test.jpg"fi# Ask for approval before downloading models and sample filesecho ""echo "This script will download:"echo " - Model weights and/or sample files"echo ""read -p "Continue with downloads? (yes/no): " APPROVALif [[ "${APPROVAL}" != "yes" ]]; thenecho "Download cancelled by user."exit 0fiecho ""echo "--- Downloading sample test video ---"if [[ ! -f test_video.mp4 ]]; thenwget -q -O test_video.mp4 \
export_and_quantize.sh+24-2