You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First off, thanks for the tutorial! You're a real lifesaver. I'm trying to get evaluate to work at the moment. I have num_keypoints=4. The model trains smoothly when I just comment out evaluate during training, but I need to evaluate the performance now so I'm trying to get that to work. I did what you instructed in your tutorial:
Update. It’s possible not to edit pycocotools/cocoeval.py file in pycocotools library to change kpt_oks_sigmas, but to edit coco_eval.py file, as Diogo Santiago suggested:
Apparently, the solution on the article was right. But for some reason, when I edit on Colab and save, it doesn't actually get saved. So I had to already have changed coco_eval.py before I even cloned it on my Colab runtime.
I basically did the same thing, but this time I downloaded the training scripts from PyTorch and created my own repository to clone:
First off, thanks for the tutorial! You're a real lifesaver. I'm trying to get
evaluate
to work at the moment. I havenum_keypoints=4
. The model trains smoothly when I just comment outevaluate
during training, but I need to evaluate the performance now so I'm trying to get that to work. I did what you instructed in your tutorial:Since I have
num_keypoints=4
, I instead wrotenp.array([.5, .5, .5, .5]) / 10.0
forkpt_oks_sigmas
.But I'm still getting the same error:
ValueError: operands could not be broadcast together with shapes (4,) (17,)
Hoping you can help me with this! 🤞
The text was updated successfully, but these errors were encountered: