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

Fix pad_mask bug: min instead of max for pad_length #73

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

moojink
Copy link
Contributor

@moojink moojink commented Apr 9, 2024

Before this change, the pad_mask in observations with history is always all Trues. However, we would want part of the pad_mask to be False during the first few timesteps when the number of past observations is shorter than the horizon length.

Copy link
Collaborator

@HomerW HomerW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Moo Jin! We fixed this internally but forgot to push it to this repo.

@moojink
Copy link
Contributor Author

moojink commented Apr 9, 2024

Gotcha, no worries! I don't think I have permissions to merge this branch. Feel free to merge it yourself or do whatever is needed to get the change updated on the main branch. Thanks Homer!

@HomerW HomerW merged commit bd930f9 into octo-models:main Apr 9, 2024
1 check passed
WenchangGaoT pushed a commit to WenchangGaoT/octo1 that referenced this pull request May 10, 2024
Added encoders for more pure transformer models
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

Successfully merging this pull request may close these issues.

2 participants