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

Fix TD3 DDPG Implementation: Move Sampling Inside Gradient Step Loop #144

Conversation

alessandroassirelli98
Copy link
Contributor

This pull request addresses a discrepancy between the original TD3 and DDPG paper's algorithm and the current implementation in the repository. Specifically, the original implementation performs the sampling step outside of the gradient step loop, which diverges from the methodology outlined in the paper. We have corrected this by moving the sampling process inside the gradient step loop, aligning the implementation more closely with the intended algorithmic procedure described in the original paper and SpinningUp description.

@Toni-SM
Copy link
Owner

Toni-SM commented Apr 15, 2024

Hi @alessandroassirelli98

Could you please, update the PR target branch to the develop branch.
The main branch is updated from the develop branch only when a new release is made :)

@alessandroassirelli98
Copy link
Contributor Author

Ok, I have created another Pull Request for branch develop

@Toni-SM
Copy link
Owner

Toni-SM commented Apr 16, 2024

Nice... This PR will be closed then in favor of #147

@Toni-SM Toni-SM closed this Apr 16, 2024
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

Successfully merging this pull request may close these issues.

2 participants