It seems that restoring the pretrained model is not working properly.
Here is how to reproduce the issue.
Here are the observations that can support this assessment.
I will try to compare the graph using tensorboard and update the information here.
Thanks!
@scotthong. How are you able to restore pretrained model? When I try to specify it with --pretrained_model I get
W tensorflow/core/util/tensor_slice_reader.cc:95] Could not open ../models/20170116-225008/model-20170116-225008.ckpt-160000.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
W tensorflow/core/framework/op_kernel.cc:993] Data loss: Unable to open table file ../models/20170116-225008/model-20170116-225008.ckpt-160000.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
I am using tensorflow0.12. Thanks any help would be appreciated
hi @rajiv235 ,
Did you set the pretrained model path correctly?
In your case, you should set the path as "--pretrained_model ../models/20170116-225008/model-20170116-225008.ckpt-160000"
Closing this due to inactivity. Reopen if needed.
Most helpful comment
hi @rajiv235 ,
Did you set the pretrained model path correctly?
In your case, you should set the path as "--pretrained_model ../models/20170116-225008/model-20170116-225008.ckpt-160000"