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

Integrating Transformer modules #303

Open
mantianjiang opened this issue Aug 17, 2024 · 1 comment
Open

Integrating Transformer modules #303

mantianjiang opened this issue Aug 17, 2024 · 1 comment

Comments

@mantianjiang
Copy link

Currently, it seems that only samples of the shape (batch_size, features) can be obtained for training; how can we obtain samples of the shape (seq_len, batch_size, features) from the experience pool for training?

@alex-petrenko
Copy link
Owner

When training with RNNs, the learner naturally gets samples with the shape (seq_len, batch_size, features)
So this should be supported out of the box.

Try parameters --use_rnn=True --recurrence=<seq_len> --rollout=<seq_len>

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