-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug with n_joints in train.py
#73
Comments
It seems that |
Unfortunately even if you don't intend to run it with the 1-view setup, what I found is that sometimes if the CMU dataset has missing BBOX data for certain cameras/frames. If you have 3 cameras/views but 2 of them have invalid BBOXes, the algorithm will take that particular batch as a 1-view case. |
Oh, missed this issue. Thank you @Samleo8 and @uyoung-jeong, fixed that here: acee6d2 |
learnable-triangulation-pytorch/train.py
Line 194 in 5220551
I believe this is an error, because
keypoints_3d_pred
has shape[<batch_size>, <num_keypoints>, 3]
.Therefore, this should be changed to either
n_joints = keypoints_3d_pred.shape[1]
orn_joints = keypoints_3d_pred[0].shape[0]
.The text was updated successfully, but these errors were encountered: