Skip to content

[Question] Error in reset_idx #1220

Discussion options

You must be logged in to vote

Hi there, can you please clarify if you are following the manager-based or direct workflows? Assuming it's direct, initializing a variable in the task class init will make it a class variable. We generally allocate buffers that hold data for all environments, and when needed for reset, we can index the buffer based on the environment indices that need reset. It's less computationally efficient to have a variable for each environment.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by chandramohanjagadeesan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1189 on October 11, 2024 19:49.