Log when not using sm model
This commit is contained in:
parent
255526cc3b
commit
86afae2683
|
@ -57,8 +57,10 @@ source env/bin/activate
|
||||||
WEIGHTS="yolov5s.pt"
|
WEIGHTS="yolov5s.pt"
|
||||||
|
|
||||||
if [[ "${MODEL}" == "yolov5m_onnx" ]]; then
|
if [[ "${MODEL}" == "yolov5m_onnx" ]]; then
|
||||||
|
echo "Using medium weights [${MODEL}]"
|
||||||
WEIGHTS="yolov5m.pt"
|
WEIGHTS="yolov5m.pt"
|
||||||
elif [[ "${MODEL}" == "yolov5l_onnx" ]]; then
|
elif [[ "${MODEL}" == "yolov5l_onnx" ]]; then
|
||||||
|
echo "Using large weights [${MODEL}]"
|
||||||
WEIGHTS="yolov5l.pt"
|
WEIGHTS="yolov5l.pt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue