Realtime_Multi-Person_Pose_Estimation
Realtime_Multi-Person_Pose_Estimation copied to clipboard
TypeError: 'NoneType' object has no attribute '__getitem__'
Thanks for you attention!!
Anyone have the same problem?
During trainning ,when i run python genLMDB.py it reports errors ## TypeError: 'NoneType' object has no attribute 'getitem'
sun@sunwin:~/0newcodedown/RealtimePosetrain/training$ python genLMDB.py
COCO
126395
121522
/home/sun/0newcodedown/RealtimePosetrain/training/dataset/COCO/images/train2014/COCO_train2014_000000176495.jpg
Traceback (most recent call last):
File "genLMDB2.py", line 195, in
you suggest is important for me~thanks ~~~
I met the same error as you did. My error is caused by wrong image paths and input empty "mask_all". And I solved the issue by correcting "path_header", put the "mask2014" and "train2014" "val2014" into the same folder.
I got the same error last night. And i found it can be fixed by run the code by "sudo python genLMDB.py" Hope it can help you.