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 possible misleading comment. #42

Open
zackmawaldi opened this issue Dec 6, 2022 · 1 comment
Open

A possible misleading comment. #42

zackmawaldi opened this issue Dec 6, 2022 · 1 comment

Comments

@zackmawaldi
Copy link
Member

# loss functions: =1 to turn off, 0 to calculate but not optimize on

def add(self, name, loss_func, weight=1.):

Looking at how the code works, seems like -1 is to turn off, not 1. That's unless I'm understanding the code wrong (which is possible!).

@jueseph
Copy link
Collaborator

jueseph commented Dec 6, 2022 via email

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