2

tensorflow の v0.12.1 バージョンを使用して、 http: //download.tensorflow.org/models/vgg_16_2016_08_28.tar.gz で利用可能なチェックポイントを使用して、事前トレーニング済みの vgg16 モデルを微調整しようとしてい ます。

次のエラーが表示されます。

W tensorflow/core/framework/op_kernel.cc:975] Not found: Tensor name "Variable" not found in checkpoint files /home/code/tensorflow/vgg-tensorflow/vgg_16.ckpt
     [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_INT32], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
W tensorflow/core/framework/op_kernel.cc:975] Not found: Tensor name "Variable" not found in checkpoint files /home/code/tensorflow/vgg-tensorflow/vgg_16.ckpt
     [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_INT32], _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_save/Const_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]

助けが必要。私は数ヶ月前に同様の質問を投稿しました - 私はそれを過ぎましたが、良い解決策を見つけることができませんでした. で与えられたモデル定義を使用します

tensorflow.contrib.slim.nets

v1 と v2 の 2 つのバージョンの ckpt ファイルがあることを理解しています。これは問題になるでしょうか?これを解決する方法を教えてください。

4

1 に答える 1