Skip to content

HongshanLi/A-straightforward-example-of-save-a-tensorflow-graph-and-its-variables-then-reload-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

A-straightforward-example-of-save-a-tensorflow-graph-and-its-variables-then-reload-it

Since I haven't found a straightforward example demonstraing how to save a tensorflow graph and its assoicated variables and resused it in another program. I decided to experiment a few things. The code is the result. I hope it is straightforward enough. Traditionally, I believe one has to save the graph and its variables seperately, and load them seperately. But since APIr.011, they included some handy functions: tf.train.export_meta_graph() tf.train.import_meta_graph() which makes exporting and importing a graph and its variable really easy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages