I want to transform this network, https://github.com/jiangsutx/SRN-Deblur, from tensorflow to nvidia tensorRT. It need a ‘.pb’ model file, but the project only giving three model files as follow:
deblur.model-52300.data-00000-of-00001
deblur.model-52300.index
deblur.model-52300.meta
So I want to transform these files to a ‘.pb’ file.
have a look at this file freeze_graph.py, you can generate .pb file directly from a checkpoint file and a meta graph.
While executing freeze_graph.py, you can specify the input arguments like this:
hi, in my case I don’t have the .meta file. How can I generate the frozen model ?
output directory of the training looks like this-
training-
-train
-events.out.tfevents.1630519964.DESKTOP-M8813GH.8388.1503.v2
-checkpoint
-ckpt-20.data-00000-of-00001
-ckpt-20.index