deep_sort icon indicating copy to clipboard operation
deep_sort copied to clipboard

error : generate_detections.py

Open StormArcher opened this issue 7 years ago • 5 comments

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: 没有那个文件或目录

StormArcher avatar Nov 14 '18 15:11 StormArcher

@ zhujinchao123

duyanfang123 avatar Nov 29 '18 06:11 duyanfang123

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.

404hasbeenfound avatar Apr 11 '19 03:04 404hasbeenfound

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 --...).

nwojke avatar Apr 30 '19 11:04 nwojke

1

Duncan1738 avatar Jul 19 '21 07:07 Duncan1738

where should i add the path?

Duncan1738 avatar Jul 19 '21 07:07 Duncan1738