-
Notifications
You must be signed in to change notification settings - Fork 253
Description
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