Closed murdockhou closed 4 years ago
Hi @murdockhou
The bug fixed and it should be work now.
Thanks for the comments and suggestions. :)
@tensorboy I pull the lateset repo and get the same error too. Please check this, I only change .yaml
file and change images = self.coco.getImgIds()
code in coco_hp.py
into images = self.coco.getImgIds()[:100]
for only test. And get the same error as before mentioned.
Sure, will double check tmr!
On Mon, Jan 6, 2020 at 6:19 PM Shiwei Hou notifications@github.com wrote:
@tensorboy https://github.com/tensorboy I pull the lateset repo and get the same error too. Please check this, I only change .yaml file and change images = self.coco.getImgIds() code in coco_hp.py into images = self.coco.getImgIds()[:100] for only test. And get the same error as before mentioned.
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/tensorboy/centerpose/issues/18?email_source=notifications&email_token=AEDERP3KK3VJTMUGYU54UDTQ4PREBA5CNFSM4KB6LJBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIHORWA#issuecomment-571402456, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEDERPZLQHBFWOZ7EMILFRLQ4PREBANCNFSM4KB6LJBA .
@tensorboy Hi, I find you have changed results[batch['meta']['img_id'].cpu().numpy()[0]] = dets_out[0]
to results[batch['meta']['img_id'].cpu().numpy()[0]] = {1:dets_out[0]}
in lib/trains/multi_pose.py
. Which difference is if I write like this
dets_out = np.concatenate(
[detection[1] for detection in dets_out], axis=0).astype(np.float32)
results[batch['meta']['img_id'].cpu().numpy()[0]] = dets_out
And by the way, can I get your trian log.txt
file about mobilenetv3 backbone network, I start to train this using mobilenetv3 but the mAP of the first 10 epochs is too small.
I have test the train process using first 100 samples of MSCOCO. The cmd of training is
and when run mAP calculate in line 121 of
train.py
, I got an error like this: but when I runIt's ok and can output result.
Update: Maybe change code like this will be work in here