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
# Record the transition self.storage.add_transitions(current_obs, actions_expert, rews, dones) current_obs.copy_(next_obs) # value_net if self.apply_value_net: self.ppo_buffer.add_transitions( current_obs, current_states, actions, rews, dones, values, actions_log_prob, mu, sigma, ) current_states.copy_(next_states)
the current_obs variable updates before adding transitions to ppo_buffer, so the ppo_buffer actually adds the next_obs instead the current_obs.
current_obs
ppo_buffer
next_obs
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the
current_obs
variable updates before adding transitions toppo_buffer
, so theppo_buffer
actually adds thenext_obs
instead thecurrent_obs
.The text was updated successfully, but these errors were encountered: