2017-08-16 1 views
1

protocに問題がある場合、ウィンドウ内の行は機能しません。TensorFlow - オブジェクト検出モジュール、protocを使用しようとするとエラーが表示されます

私はこのerrors取得:この行に

protoc --proto_path=./object_detection/protos --python_out=c:\testmomo ./object_detection/protos/anchor_generator.proto 

を使用して

を私は問題が何であるかを

object_detection/protos/grid_anchor_generator.proto: File not found. 
object_detection/protos/ssd_anchor_generator.proto: File not found. 
anchor_generator.proto: Import "object_detection/protos/grid_anchor_generator.proto" was not found or had errors. 
anchor_generator.proto: Import "object_detection/protos/ssd_anchor_generator.proto" was not found or had errors. 
anchor_generator.proto:12:5: "GridAnchorGenerator" is not defined. 
anchor_generator.proto:13:5: "SsdAnchorGenerator" is not defined. 

このエラーを取得します?

+0

に、私はこれが私の1のために働いて、同じ問題 –

答えて

0

は、ファイルがないように思える:object_detection /プロト/ grid_anchor_generator.protoとssd_ancho_generator.protoが

あなただけのモデルがrepostitoryか何かを変更したクローンたのですか?

3

私はさまざまなことを試していて、どこに問題があるのか​​把握していました。私は同じようにそれをやろうとしたのに対し、

# From models/ 
protoc object_detection/protos/*.proto --python_out=. 

は、あなたがそれをこのようにやっていることを確認してください

# from object_detection/ 
protoc protos/*.proto --python_out=. 

あなたと私にエラーを与えています。

正しい場所(ディレクトリ)にいるかどうかを確認してください。 object_detection PROTOSで

+0

を持っていることを

import "object_detection/protos/grid_anchor_generator.proto"; 

変更与えられているフォルダ –

0

インポート行が

import "research/object_detection/protos/grid_anchor_generator.proto"; 
関連する問題