Skip to content
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

The problem of multi frame training #3

Open
Wzh-42 opened this issue Dec 22, 2023 · 1 comment
Open

The problem of multi frame training #3

Wzh-42 opened this issue Dec 22, 2023 · 1 comment

Comments

@Wzh-42
Copy link

Wzh-42 commented Dec 22, 2023

Thanks for your work!
when I train:
python main.py --train --frames 9 or more
The assertionError is as follows:

Traceback (most recent call last):
File "main.py", line 139, in
loss = train(opt, actions, train_dataloader, model, optimizer, epoch)
File "main.py", line 25, in train
return step('train', opt, actions, train_loader, model, optimizer, epoch)
File "main.py", line 48, in step
loss = mpjpe_cal(output_3D, out_target)
File "/root/autodl-tmp/DC-GCT/common/utils.py", line 21, in mpjpe_cal
assert predicted.shape == target.shape
AssertionError

How should I handle it?Thanks!

@KHB1698
Copy link
Owner

KHB1698 commented Dec 22, 2023

Sorry, we do not provide multi-frame training for the time being. But for your problem, you can download our latest version again, we are using weighted_mpjpe loss function. You can also comment out the line 'assert predict.shape == target.shape', which might solve your confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants