Skip to content
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: '../data/coco/annotations/instances_testdev2017.json' #12

Closed
sanfordhsu opened this issue Apr 23, 2019 · 6 comments

Comments

@sanfordhsu
Copy link

sanfordhsu commented Apr 23, 2019

Excuse me, the error occurs just like the following, though I unzip the annotation file and the COCO dataset just follow the README.md. Who can tell me the reason?

微信截图_20190423155918

@sanfordhsu sanfordhsu changed the title ileNotFoundError: [Errno 2] No such file or directory: '../data/coco/annotations/instances_testdev2017.json' FileNotFoundError: [Errno 2] No such file or directory: '../data/coco/annotations/instances_testdev2017.json' Apr 23, 2019
@sanfordhsu
Copy link
Author

Ok, I got it, closed.

@msha096
Copy link

msha096 commented Apr 25, 2019

Ok, I got it, closed.

How you figure it out? I met the same problem.

@sanfordhsu
Copy link
Author

Ok, I got it, closed.

How you figure it out? I met the same problem.

Well, If you use the linux system, you need to change the file path
from '../data/coco/annotations' to './data/coco/annotations'.

@msha096
Copy link

msha096 commented Apr 26, 2019

Ok, I got it, closed.

How you figure it out? I met the same problem.

Well, If you use the linux system, you need to change the file path
from '../data/coco/annotations' to './data/coco/annotations'.

Yes I found it but I did not find the place to change the file path. Could you please tell me which file should I look at ? Thanks!

@sanfordhsu
Copy link
Author

Ok, I got it, closed.

How you figure it out? I met the same problem.

Well, If you use the linux system, you need to change the file path
from '../data/coco/annotations' to './data/coco/annotations'.

Yes I found it but I did not find the place to change the file path. Could you please tell me which file should I look at ? Thanks!

In Config file, 'CenterNet-104.json' and 'CenterNet-52.json'

@msha096
Copy link

msha096 commented Apr 26, 2019

Ok, I got it, closed.

How you figure it out? I met the same problem.

Well, If you use the linux system, you need to change the file path
from '../data/coco/annotations' to './data/coco/annotations'.

Yes I found it but I did not find the place to change the file path. Could you please tell me which file should I look at ? Thanks!

In Config file, 'CenterNet-104.json' and 'CenterNet-52.json'

Very appreciate that! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants