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

Training command resulting in error #128

Open
MusketeerTheSixth opened this issue Oct 2, 2024 · 0 comments
Open

Training command resulting in error #128

MusketeerTheSixth opened this issue Oct 2, 2024 · 0 comments

Comments

@MusketeerTheSixth
Copy link

I ran the training command without the CUDA argument as I don't have GPU.

python example/main.py --dataset mpii -a hg --stacks 8 --blocks 1 --checkpoint checkpoint/mpii/hg8 -j 4

This was the error I got:
==> creating model 'hg', stacks=8, blocks=1
Total params: 25.59M
Traceback (most recent call last):
File "pytorch-pose-master\example\main.py", line 431, in
main(parser.parse_args())
File "pytorch-pose-master\example\main.py", line 116, in main
train_dataset = datasets.dict[args.dataset](is_train=True, **vars(args))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "pytorch-pose-master\example..\pose\datasets\mpii.py", line 138, in mpii
return Mpii(**kwargs)
^^^^^^^^^^^^^^
File "pytorch-pose-master\example..\pose\datasets\mpii.py", line 30, in init
with open(self.jsonfile) as anno_file:
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ''

I have downloaded the mpii_annotations.json file and put it in pytorch-pose-master\data\mpii
I find that some of you had commented on the same issue earlier. If anyone has found the fix, please help and lmk

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

1 participant