error : generate_detections.py
this is my .sh
#!/bin/bash
python tools/generate_detections.py
--model=/home/hp/zjc/nk_Yolo_reid/deep_sort_introduction/deep_sort-master/resources/networks/mars-small128.pb
--mot_dir=./MOT16/train/MOT16-02
--output_dir=./resources/detections/MOT16_train
error: generate_detections.py: error: the following arguments are required: --mot_dir
nk_generate_detection.sh: 行 4: --model=/home/hp/zjc/nk_Yolo_reid/deep_sort_introduction/deep_sort-master/resources/networks/mars-small128.pb: 没有那个文件或目录
@ zhujinchao123
this is my .sh #!/bin/bash python tools/generate_detections.py --model=/home/hp/zjc/nk_Yolo_reid/deep_sort_introduction/deep_sort-master/resources/networks/mars-small128.pb --mot_dir=./MOT16/train/MOT16-02 --output_dir=./resources/detections/MOT16_train
error: generate_detections.py: error: the following arguments are required: --mot_dir
nk_generate_detection.sh: 行 4: --model=/home/hp/zjc/nk_Yolo_reid/deep_sort_introduction/deep_sort-master/resources/networks/mars-small128.pb: 没有那个文件或目录
you should change your mot_dir with ./MOT16, if this is nit work for you, you should change the filepath with absoluate path, the code can catch your every file in MOT16. Hope can help you.
In addition to what has been said (thanks), I suspect that your paste was corrupt due to a newline in the wrong place. Try putting everything on the same line (python tools/generate_detections.py --...).
where should i add the path?