Saving a SavedModel after loading a graph

瀏覽次數:91 次
跳到第一則未讀訊息

Luca Mcarthur

未讀,
2020年10月16日 下午1:02:452020/10/16
收件者:Rust for TensorFlow

Hi, is there a way to save the SavedModel after training having loaded the graph from a SavedModel (as opposed to initialising the layers & vars like in examples/xor.rs)?

It seems like the SavedModelBuilder requires a collection of variables & scope which doesn't seem straightforward to get just from an already existing graph (nor the meta graph needed in SavedModelSaver).

Btw repost from https://github.com/tensorflow/rust/issues/279#issue-722415545 (just found this community).

Cheers,

Luca

回覆所有人
回覆作者
轉寄
0 則新訊息