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

I cannot train! #121

Open
ZhouQiang19980220 opened this issue Jan 22, 2021 · 1 comment
Open

I cannot train! #121

ZhouQiang19980220 opened this issue Jan 22, 2021 · 1 comment

Comments

@ZhouQiang19980220
Copy link

==> creating model 'hg', stacks=1, blocks=1 => no checkpoint found at './checkpoint/mpii/hg-s1-b1/checkpoint.pth.tar' Total params: 3.59M Traceback (most recent call last): File "./example/main.py", line 431, in main(parser.parse_args()) File "./example/main.py", line 116, in main train_dataset = datasets.dict[args.dataset](is_train=True, **vars(args)) File "/home/ubuntu/zq/Projects/hourglass0122/pytorch-pose/example/../pose/datasets/mpii.py", line 138, in mpii return Mpii(**kwargs) File "/home/ubuntu/zq/Projects/hourglass0122/pytorch-pose/example/../pose/datasets/mpii.py", line 30, in init with open(self.jsonfile) as anno_file: IOError: [Errno 2] No such file or directory: ''

@bearpaw
Copy link
Owner

bearpaw commented Jan 22, 2021

Please follow the instructions here to download the json file.

You can also generate json file by running https://github.com/bearpaw/pytorch-pose/blob/master/miscs/gen_mpii.m

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