Skip to content

How to load a json model that has a "KerasLayer" in it? #268

Answered by zaleslaw
oldjuanito asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jptarqu thanks for the question.
At this moment you are not able to load KerasLayer (with hidden SavedModel because the SavedModel for 2.x is not supported in KotlinDL yet)

The problem is that KerasLayer is not exactly layer, it's an API abstraction for the trained model saved in special executable format with the unknown structure for KotlinDL, not just simple JSON + weights like other layers

The same thing for different Lambda layers which contains Python-specific code

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zaleslaw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants