Don't generate tensorrt models by default (#14865)

This commit is contained in:
Nicolas Mowen
2024-11-08 06:37:18 -07:00
committed by GitHub
parent ace02a6dfa
commit 46ed520886
4 changed files with 9 additions and 4 deletions

View File

@@ -19,6 +19,11 @@ FIRST_MODEL=true
MODEL_DOWNLOAD=""
MODEL_CONVERT=""
if [ -z "$YOLO_MODELS"]; then
echo "tensorrt model preparation disabled"
exit 0
fi
for model in ${YOLO_MODELS//,/ }
do
# Remove old link in case path/version changed