Closed Vhunon closed 4 years ago
Please also check dataset
and testset
in main/config.py
As described in README, tmp_result_0.pkl
is temporal file and most of the reason of that error is wrong path or config.
Yes, dataset set to COCO
and testset set to val
What I mean is could you check your human detection file is for validation set?
Also, could you check the path of the human detection file is the same with human_det_path
of data/COCO/dataset.py
?
the human_det_path is set to human_det_path = osp.join('..', 'data', dataset_name, 'dets', 'human_detection.json') # human detection result
.
For COCO I have data/COCO/dets/human_detection.json
and this human_detection.json
is yours provided in here
Did you change the human detection name? because the original one has _val or _test_dev.jaon Also, other paths such as annotations and images
Yes I changed it. So how do I test it then?
python test.py --gpu 0 --test_epoch 140
What do you mean with
Also, other paths such as annotations and images
Is there anything else that has to be changed?
No just wanted to check you made soft links at data/COCO/.
Well any idea what is the issue then?
Did you set GPU ids properly?
Yes of course
python test.py --gpu 0 --test_epoch 140
I'm not sure... could you debug it by yourself? I have no problem when running this code
I guess no. Most of this error comes from wrong path configuration or wrong human detection file. You can debug it by checking the human detection is loaded well or something
Since I am running this on one GPU, do I need to change the num of gpus in the config file?
Hmm that maybe the reason.. I haven't run my code in single gpu environment. I remember some guys had similar problem in single gpu environment
Thank you I managed to get it run however I have a question.
How do I generate my own human_detection.json
file?
Hello,
I used your 'human_detection.json' file from here and your model for the 140th epoch from here. The model was saved in the model-dump folder and the human detection file in ..
data/COCO/dets/
However, I was not able to reproduce your code.
The error message:
Which human_detection file is used?