We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I've been working with the dynamics model and noticed a couple of potential issues. I wanted to check with you to see if my observations are correct:
jafar/utils/nn.py
Lines 50 to 54 in b72f848
pred = outputs["token_logits"][:, :-1] mask = outputs["mask"][:, :-1] target = outputs["video_tokens"][:, 1:] ce_loss = optax.softmax_cross_entropy_with_integer_labels( pred, target ) ce_loss = (mask * ce_loss).sum() / mask.sum() acc = pred.argmax(-1) == target
jafar/train_dynamics.py
Lines 122 to 124 in b72f848
Please let me know if further clarification is needed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I've been working with the dynamics model and noticed a couple of potential issues. I wanted to check with you to see if my observations are correct:
jafar/utils/nn.py
Lines 50 to 54 in b72f848
jafar/train_dynamics.py
Lines 122 to 124 in b72f848
Please let me know if further clarification is needed.
The text was updated successfully, but these errors were encountered: