Closed naseemap47 closed 1 year ago
Arguments: -n, --num: Number of classes the model trained on -m, --model: Model type (choices: yolo_nas_s, yolo_nas_m, yolo_nas_l) -w, --weight: path to trained model weight -s, --source: paths to videos/cam-ids/RTSPs --full: to enable full screen
-n
--num
-m
--model
yolo_nas_s
yolo_nas_m
yolo_nas_l
-w
--weight
-s
--source
--full
python3 batch.py --num 3 --model yolo_nas_m --weight /runs/train4/ckpt_best.pth --source '/test/video.mp4' '/test/video23.mp4' # videos --source 0 2 --conf 0.45 --full # web-Cameras with full screen --source 'rtsp://link' 'rtsp://link3' --conf 0.25 # RTSPs video stream
📺 Batch Inference
Arguments:
-n
,--num
: Number of classes the model trained on-m
,--model
: Model type (choices:yolo_nas_s
,yolo_nas_m
,yolo_nas_l
)-w
,--weight
: path to trained model weight-s
,--source
: paths to videos/cam-ids/RTSPs--full
: to enable full screen