argusswift / YOLOv4-pytorch

This is a pytorch repository of YOLOv4, attentive YOLOv4 and mobilenet YOLOv4 with PASCAL VOC and COCO
1.68k stars 330 forks source link

Error in detection #254

Open Rvv1296 opened 2 years ago

Rvv1296 commented 2 years ago

Hello all, I am getting this error for the detection command I am using detection command as follows: CUDA_VISIBLE_DEVICES=0 python3 eval_voc.py --weight_path yolov4.weights --gpu_id 0 --visiual DATA_TEST=index.jpeg --eval --mode det And I am getting error as below: usage: eval_voc.py [-h] [--weight_path WEIGHT_PATH] [--log_val_path LOG_VAL_PATH] [--gpu_id GPU_ID] [--visiual VISIUAL] [--mode MODE] eval_voc.py: error: unrecognized arguments: --eval If anyone knows what is the issue, Please reply the solution. Thanks in advance.

2696120622 commented 2 years ago

drop --eval, using command CUDA_VISIBLE_DEVICES=0 python3 eval_voc.py --weight_path yolov4.weights --gpu_id 0 --visiual DATA_TEST=index.jpeg --mode det

argusswift commented 2 years ago

drop --eval, using command CUDA_VISIBLE_DEVICES=0 python3 eval_voc.py --weight_path yolov4.weights --gpu_id 0 --visiual DATA_TEST=index.jpeg --mode det

that's fine