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
Steps to reproduce the behavior.
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.
Please use the markdown code blocks for both code and stack traces.
import torchrl
Traceback (most recent call last): File ...
A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Describe the characteristic of your environment:
import torchrl, numpy, sys print(torchrl.__version__, numpy.__version__, sys.version, sys.platform)
Add any other context about the problem here.
If you know or suspect the reason for this bug, paste the code lines and suggest modifications.
The text was updated successfully, but these errors were encountered:
Hey can you provide a bit more details about this issue? What annotation are we talking about? Do you mean docstrings? Of which function? Thanks!
Sorry, something went wrong.
It is an arg in Trainer.__init__, the link is https://github.com/pytorch/rl/blob/main/torchrl/trainers/trainers.py#L639, you can see it is False in default, but True in comments
Trainer.__init__
Ah ok, trainer was not mentioned!
vmoens
Successfully merging a pull request may close this issue.
Describe the bug
flatten_tensordicts default to False, while it is said should be True in the annotation.
To Reproduce
Steps to reproduce the behavior.
Please try to provide a minimal example to reproduce the bug. Error messages and stack traces are also helpful.
Please use the markdown code blocks for both code and stack traces.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
System info
Describe the characteristic of your environment:
Additional context
Add any other context about the problem here.
Reason and Possible fixes
If you know or suspect the reason for this bug, paste the code lines and suggest modifications.
Checklist
The text was updated successfully, but these errors were encountered: