Skip to content

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

Merged
bimalkmehta merged 4 commits intoreleases/1.3.0from
rukon/fix_dqn
Sep 8, 2021
Merged

No Case: RLLib 1.3.0 fixed the DQN convergence issue per master branc…#93
bimalkmehta merged 4 commits intoreleases/1.3.0from
rukon/fix_dqn

Conversation

@RuofanKong
Copy link

…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 :(

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
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
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
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