Skip to content

Functional.copy() does not support models with dropout layer #329

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

Closed
rychuelektryk opened this issue Jan 27, 2022 · 1 comment · Fixed by #330
Closed

Functional.copy() does not support models with dropout layer #329

rychuelektryk opened this issue Jan 27, 2022 · 1 comment · Fixed by #330
Assignees
Labels
bug Something isn't working
Milestone

Comments

@rychuelektryk
Copy link

Exception in thread "main" java.lang.IllegalStateException: dropout_3 with type Dropout is not supported yet!
at org.jetbrains.kotlinx.dl.api.inference.keras.ModelSaverKt.convertToKerasLayer(ModelSaver.kt:111)
at org.jetbrains.kotlinx.dl.api.inference.keras.ModelSaverKt.serializeModel(ModelSaver.kt:46)
at org.jetbrains.kotlinx.dl.api.core.Functional.copy(Functional.kt:327)

It looks like method convertToKerasLayer does not handle Dropout layer yet

@zaleslaw zaleslaw added the good first issue Good for newcomers label Jan 28, 2022
@zaleslaw zaleslaw added this to the 0.4 milestone Jan 28, 2022
@zaleslaw
Copy link
Collaborator

Thanks for the issue!

@zaleslaw zaleslaw added bug Something isn't working and removed good first issue Good for newcomers labels Feb 1, 2022
@zaleslaw zaleslaw self-assigned this Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants