tensorboy / centerpose

Push the Extreme of the pose estimation
MIT License
237 stars 45 forks source link

Error alert when running "val_dataset.run_eval()" #20

Closed LouisNUST closed 4 years ago

LouisNUST commented 4 years ago

Traceback (most recent call last): File "/home/centerpose/tools/train.py", line 151, in main(cfg, local_rank) File "/home/centerpose/tools/train.py", line 120, in main mAP = val_dataset.run_eval(preds, cfg.OUTPUT_DIR) File "/home/centerpose/tools/../lib/datasets/coco_hp.py", line 100, in run_eval coco_dets = self.coco.loadRes(self.convert_eval_format(results)) File "/home/centerpose/tools/../lib/datasets/coco_hp.py", line 64, in convert_eval_format bbox = dets[:4] IndexError: invalid index to scalar variable.

tensorboy commented 4 years ago

Hi, @LouisNUST are you running the most recent code?

LouisNUST commented 4 years ago

@tensorboy Thanks a lot, recent version works well.