Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

update target network weight during episode after x timesteps#2110

Merged
svekars merged 2 commits intopytorch:masterpytorch/tutorials:masterfrom
Mdhvince:mdhvince/q_target-not-fixed-during-episodeMdhvince/tutorials:mdhvince/q_target-not-fixed-during-episodeCopy head branch name to clipboard
Nov 8, 2022
Merged

update target network weight during episode after x timesteps#2110
svekars merged 2 commits intopytorch:masterpytorch/tutorials:masterfrom
Mdhvince:mdhvince/q_target-not-fixed-during-episodeMdhvince/tutorials:mdhvince/q_target-not-fixed-during-episodeCopy head branch name to clipboard

Conversation

@Mdhvince
Copy link
Contributor

@Mdhvince Mdhvince commented Nov 2, 2022

Currently the target network remain fixed during the entire episode.
In this PR I have moved the update of the weigths inside the inner loop of the training. So the update can occure during the episode.

Without this change, if the episode is too long, the target network will be too different from the behavior network.

cc @vmoens @nairbv

@netlify
Copy link

netlify bot commented Nov 2, 2022

Deploy Preview for pytorch-tutorials-preview ready!

Name Link
🔨 Latest commit ac58792
🔍 Latest deploy log https://app.netlify.com/sites/pytorch-tutorials-preview/deploys/636abda1968eb50008ac1003
😎 Deploy Preview https://deploy-preview-2110--pytorch-tutorials-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@svekars svekars added the rl label Nov 3, 2022
Copy link
Contributor

@vmoens vmoens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks for spotting this!

@Mdhvince
Copy link
Contributor Author

Mdhvince commented Nov 3, 2022

You welcome, thanks to you 🔥

@svekars svekars merged commit 83d6fec into pytorch:master Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.