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

No Case: RLLib 1.3.0 fixed the DQN convergence issue per master branc… #93

Merged
merged 4 commits into from
Sep 8, 2021

Conversation

RuofanKong
Copy link
Collaborator

…h fix.

Why are these changes needed?

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@@ -383,41 +384,13 @@ def compute_q_values(policy: Policy,
return value, logits, dist, state


def _adjust_nstep(n_step, gamma, obs, actions, rewards, new_obs, dones):

Choose a reason for hiding this comment

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

Can you document all input variables in this method?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Can you document all input variables in this method?

This method is moved to the one in rllib/evaluation/postprocessing.py and I think Sven added the doc string for the method.

Choose a reason for hiding this comment

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

It'd be useful to have documentation and type annotations for those parameters.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It'd be useful to have documentation and type annotations for those parameters.

Yes, the type annotation is included there.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@bimalkmehta bimalkmehta merged commit d6685c3 into releases/1.3.0 Sep 8, 2021
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.

3 participants