Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Conversation

@EntilZha
Copy link
Contributor

PR adds:

  • A passthrough rescaler to use if you don't want to rescale rewards.
  • Github workflow to run yapf format checker on main branch and PRs to main branch

Tested the build on my fork here after adding this PR branch (then deleting it before making PR)
Screen Shot 2022-04-28 at 5 06 59 PM

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 29, 2022
@EntilZha EntilZha force-pushed the pr-passthrough-rescaler branch 3 times, most recently from 222bf5e to f4a377c Compare May 16, 2022 17:35
@EntilZha EntilZha force-pushed the pr-passthrough-rescaler branch from f4a377c to faca41e Compare May 16, 2022 17:39
@EntilZha
Copy link
Contributor Author

Moved this to CircleCI @xiaomengy so probably good to go? Seems to be passing on the circleci on my fork https://app.circleci.com/pipelines/github/EntilZha/rlmeta/3/workflows/fcf82992-128f-42f0-82b3-b0f10dc31e30/jobs/3 and should auto-start working once merged on the main rlmeta circleci.

"""


class PassthroughRescaler(Rescaler):
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we consider to rename it as IdentityRescaler ?

@xiaomengy xiaomengy merged commit b312b08 into facebookresearch:main Jun 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants