-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError: [Errno 2] No such file or directory: 'tmp_result_0.pkl' and IndexError: list index out of range #36
Comments
The pickle file is a temporal file which is generated and deleted in testing stage. You don't have to prepare pickle files. Can you tell me which dataset are you using? The human detection result should be the one of dataset you want to use. |
I tested my code and it works in single GPU environment. I think your human detection file is not the same with your dataset. |
I am using the COCO dataset test2017, with annotations from image_info_test2017.zip. Indeed I don't know where to download the |
Did you change |
Ah yeah, no I didn't. I will try that as soon as I wake up tomorrow and let you know right then |
Yes. I'm sure that is the reason. Good night! |
I changed that and it works, it is indeed the reason. However, the APs and ARs outputs are all -1, maybe something is not right so I will try to create another issue. Many thanks to you and your great supports, I'm very appreciated ^.^ |
Hello,
I am trying to run the test.py on the provided pre-trained model 256x192_resnet50_coco but I am getting the following errors:
though I don't really understand what it does yet, I skimmed over the code and you seemed to try to delete it. So as I don't have that pickle file, I tried to bypass those blocks of code by setting argument
dump_method=2
intest.py
like soMultiGPUFunc = MultiProc(len(args.gpu_ids.split(',')), func, dump_method=2)
but then I encountered another error as following:the command I used to run the programme is :
python test.py --gpu 0 --test_epoch 140
as I have only 1 gpu card. Also I tried to changed argumentgpu
to 1, 0-1 but the error is still the same.As an aside, I am not sure which file is right for the dets/human_detection.json and so I used the human_detection_test-dev2017.json of Human detection result on test-dev2017 (57.2 AP on human class) and renamed it to human_detection.json. I wonder if it is the cause to the error?
I need your help.
thanks in advance.
The text was updated successfully, but these errors were encountered: