Skip to content

Reloading a model on which transfert learning was applied #2992

Answered by zachgk
larochef asked this question in Q&A
Discussion options

You must be logged in to vote

So this is actually a big question within the design of deep learning frameworks typically referred to as imperative vs symbolic. You always need to know the architecture of a model to recreate it. In a symbolic architecture like the original tensorflow, the architecture is a data structure so the framework just serializes the data structure. The downside is this only works if everything in the model (including the logic, functions, and control flow) are in the framework.

In comparison, an imperative framework views as model as code. This is what DJL does so a model is arbitrary Java code. In that sense, I don't know of any official ways to save this outside of maybe Java byte code. Inste…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@zachgk
Comment options

Comment options

You must be logged in to vote
2 replies
@zachgk
Comment options

Answer selected by larochef
@larochef
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants