Traceback (most recent call last):
File "pose_estimation.py", line 361, in
main()
File "pose_estimation.py", line 285, in main
pose_estimation(test_loader, model)
File "pose_estimation.py", line 320, in pose_estimation
s[i num_classes + j] = s[i num_classes + j] scores[vcand[i][k]][k num_classes + j]
IndexError: index 839 is out of bounds for axis 0 with size 820
先生お疲れ様です。Yunyiです。
これは私が書いたpose estimation関連のプログラムです。 このbranchをpushしてみましたが、もしgithubの使え方が間違っていたら教えてください。
前に実行logをチェックしていなかったので、もう一度実行してみたら、
test_loader
の長さは1
ですが、erumerate(test_loader)
はなぜが2回ループしました。1回目のループが終わるとmonitorの画像が得られます。2回目のループではこのようなエラーが出ました:まだ訂正していなくですみません。 書き換えた所に注釈をつけていますので、チェックよろしくお願いします^^。