JiangWenPL / multiperson

Code repository for the paper: "Coherent Reconstruction of Multiple Humans from a Single Image" in CVPR'20
https://jiangwenpl.github.io/multiperson/
375 stars 50 forks source link

Error pre-processing h36m data #9

Closed nicolasugrinovic closed 4 years ago

nicolasugrinovic commented 4 years ago

Error pre-processing data python h36m.py /datasets/Human36M/ ../../../mmdetection/data/h36m/rcnn --split=train


Traceback (most recent call last):
  File "h36m.py", line 135, in <module>
    h36m_extract(args.dataset_path, args.out_path, split=args.split)
  File "h36m.py", line 131, in h36m_extract
    pickle.dump(data, f)
NameError: name 'data' is not defined
with-twilight commented 3 years ago

Hi,I have the same problem, can you share the solution?

JiangWenPL commented 3 years ago

Maybe you should replace data with annotations in line 131

with-twilight commented 3 years ago

OK,thank.