Describe the bug
restore channel pruned gpu cifar10 example.
FailedPreconditionError: Attempting to use uninitialized value model/resnet_model/batch_normalization_8/gamma
[[Node: model/resnet_model/batch_normalization_8/gamma/_274 = _Send[T=DT_FLOAT, client_terminated=false,
To Reproduce
Steps to reproduce the behavior:
act as the tutorial ,train a cifar10 from scracth
channel pruning cifar10 pretrain model then model
load the meta file and ckpt ,export the model/resnet_model/final_dense as output to frozen the pb and export .then encouter the error
The error is uninitialized parameter when tf.graph_util.convert_variables_to_constant .error discription is :FailedPreconditionError: Attempting to use uninitialized value model/resnet_model/batch_normalization_8/gamma"
Expected behavior
the tutorial is not exactly correct to run.
show detail tools/conversion/export_pb_tflite_models.py for cifar10 example
Describe the bug restore channel pruned gpu cifar10 example. FailedPreconditionError: Attempting to use uninitialized value model/resnet_model/batch_normalization_8/gamma [[Node: model/resnet_model/batch_normalization_8/gamma/_274 = _Send[T=DT_FLOAT, client_terminated=false,
To Reproduce Steps to reproduce the behavior:
Expected behavior the tutorial is not exactly correct to run. show detail tools/conversion/export_pb_tflite_models.py for cifar10 example
Context ubuntu:16.04 tf 1.10.0 python 3.6