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

InequalityLoss #3

Open
rdrivers opened this issue Aug 29, 2024 · 0 comments
Open

InequalityLoss #3

rdrivers opened this issue Aug 29, 2024 · 0 comments

Comments

@rdrivers
Copy link

If InequalityLoss is called with float arguments for lower and upper, line 28 of losses.py raises an assertion error, since it seems to be expecting numpy arrays, not scalars. It would be nice to have an example or documentation on the use of this, though it produced the correct answer when I used InequalityLoss(.15, np.array([-.05]), np.array([.05])), constraining the results to be between .1 and .2.

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

1 participant