私は、詩人のためにテンソルを使用してイメージ認識のモデルを訓練しようとしています。 花のデータの例のためのビルドを取得しているとボトルのネックも生成されますが、私は別のテストケース(私は4つのフォルダを作ったチャンドラー、ダース、ロス、ジョーイtf_filesという名前のフォルダ)私の家庭に存在JPEGデータが無効です。胎児のためのテンソルフローの再構成開始部分の構築の部分でエラーが発生しました。
私は、このエラー
InvalidArgumentError (see above for traceback): Invalid JPEG data, size
43[[Node: DecodeJpeg = DecodeJpeg[acceptable_fraction=1, channels=3,
dct_method="", fancy_upscaling=true, ratio=1, try_recover_truncated=false,
_device="/job:localhost/replica:0/task:0/cpu:0"](_recv_DecodeJpeg
/contents_0)]]
、多くの警告を取得しています
python tensorflow/examples/image_retraining/retrain.py \
--bottleneck_dir=/tf_files/bottlenecks \
--how_many_training_steps 500 \
--model_dir=/tf_files/inception \
--output_graph=/tf_files/retrained_graph.pb \
--output_labels=/tf_files/retrained_labels.txt \
--image_dir /tf_files
このコマンドを実行すると
しかし、私はちょうど花の標準たとえば上記のコマンドを実行したときに
python tensorflow/examples/image_retraining/retrain.py \
--bottleneck_dir=/tf_files/bottlenecks \
--how_many_training_steps 500 \
--model_dir=/tf_files/inception \
--output_graph=/tf_files/retrained_graph.pb \
--output_labels=/tf_files/retrained_labels.txt \
--image_dir /flower_photos
私はすべてのエラー.MYモデルが再訓練取得し、私はこの分野で非常に新しいビーイング予測
を取得し得ていないのですガイドしてください私は間違ってインストールのミスや何かである