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

Slight issue in the "Simple Code" example #2

Closed
waltergerych opened this issue Dec 24, 2021 · 2 comments
Closed

Slight issue in the "Simple Code" example #2

waltergerych opened this issue Dec 24, 2021 · 2 comments

Comments

@waltergerych
Copy link

I think there's a small error in the example you provided. You have

loss = loss_fn(image=var)["loss"]

I think this needs to be the following in order to run, though:

loss = loss_fn.image_loss(image=var)["loss"]

Also, thank you for this resource - this library will be very useful!

@bes-dev
Copy link
Owner

bes-dev commented Dec 24, 2021

@waltergerych yes, thanks! Public API was changed, but we forget to change README too. We will fix it soon.

@bes-dev
Copy link
Owner

bes-dev commented Dec 28, 2021

Done

@bes-dev bes-dev closed this as completed Dec 28, 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

No branches or pull requests

2 participants