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

a "bug"? in the cpo method #8

Open
xzhang2523 opened this issue Feb 21, 2023 · 1 comment
Open

a "bug"? in the cpo method #8

xzhang2523 opened this issue Feb 21, 2023 · 1 comment

Comments

@xzhang2523
Copy link

reward_advs -= reward_advs.mean()
reward_advs /= reward_advs.std()
cost_advs -= \textbf{reward_advs}.mean()
cost_advs /= cost_advs.std()

I guess on line 3, it should be mean of the cost?

@ajlangley
Copy link
Owner

You are right. If you want to make any changes to the repo and make a PR, I'm happy to merge it in.

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

No branches or pull requests

2 participants