Can't freeze model, Data loss: not an sstable (bad magic number)

170 views
Skip to first unread message

yiluxiangbei

unread,
Nov 19, 2017, 10:10:28 AM11/19/17
to Discuss
Get this when I train model

INFO:tensorflow:Summary name /clone_loss is illegal; using clone_loss instead.
/Library/Python/2.7/site-packages/tensorflow/python/ops/gradients_impl.py:96: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "

then can't freeze model

python object_detection/export_inference_graph.py --input_type image_tensor --pipeline_config_path models/faster_rcnn_numobj.config --trained_checkpoint_prefix models/train/model.ckpt-* --output_directory models/result/

2017-11-19 22:26:38.039878: W tensorflow/core/util/tensor_slice_reader.cc:95] Could not open train/model.ckpt-0.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?
Reply all
Reply to author
Forward
0 new messages