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

can i use it in Tensorflow 1.*? #22

Open
sofimukhtar opened this issue Jan 23, 2022 · 0 comments
Open

can i use it in Tensorflow 1.*? #22

sofimukhtar opened this issue Jan 23, 2022 · 0 comments

Comments

@sofimukhtar
Copy link

I tried to use it in my model which is based on tensorflow V1. I tried but it throws an error. i have one hot encoded multiclass labels. How can i use focal loss in my code.

Error:
tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[36,525] = 38 is not in [0, 38)
[[{{node GatherV2}}]]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

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