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
decision-transformer/gym/experiment.py
Lines 147 to 154 in c9e6ac0
It's easy to understand padding the state with np.zero(,), but why use np.ones(,)* -10 to pad the action and np.ones(,) * 2 to pad the done flag?
np.zero(,)
np.ones(,)* -10
np.ones(,) * 2
The text was updated successfully, but these errors were encountered:
No branches or pull requests
decision-transformer/gym/experiment.py
Lines 147 to 154 in c9e6ac0
It's easy to understand padding the state with
np.zero(,)
, but why usenp.ones(,)* -10
to pad the action andnp.ones(,) * 2
to pad the done flag?The text was updated successfully, but these errors were encountered: