Skip to content

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

Closed
@rychuelektryk

Description

@rychuelektryk

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions