1.
报错找不到文件
将下列代码分批运行即可
protoc ./object_detection/protos/anchor_generator.proto --python_out=. protoc ./object_detection/protos/argmax_matcher.proto --python_out=. protoc ./object_detection/protos/bipartite_matcher.proto --python_out=. protoc ./object_detection/protos/box_coder.proto --python_out=. protoc ./object_detection/protos/box_predictor.proto --python_out=. protoc ./object_detection/protos/eval.proto --python_out=. protoc ./object_detection/protos/faster_rcnn.proto --python_out=. protoc ./object_detection/protos/faster_rcnn_box_coder.proto --python_out=. protoc ./object_detection/protos/grid_anchor_generator.proto --python_out=. protoc ./object_detection/protos/hyperparams.proto --python_out=. protoc ./object_detection/protos/image_resizer.proto --python_out=. protoc ./object_detection/protos/input_reader.proto --python_out=. protoc ./object_detection/protos/keypoint_box_coder.proto --python_out=. protoc ./object_detection/protos/losses.proto --python_out=. protoc ./object_detection/protos/matcher.proto --python_out=. protoc ./object_detection/protos/mean_stddev_box_coder.proto --python_out=. protoc ./object_detection/protos/model.proto --python_out=. protoc ./object_detection/protos/optimizer.proto --python_out=. protoc ./object_detection/protos/pipeline.proto --python_out=. protoc ./object_detection/protos/post_processing.proto --python_out=. protoc ./object_detection/protos/preprocessor.proto --python_out=. protoc ./object_detection/protos/region_similarity_calculator.proto --python_out=. protoc ./object_detection/protos/square_box_coder.proto --python_out=. protoc ./object_detection/protos/ssd.proto --python_out=. protoc ./object_detection/protos/ssd_anchor_generator.proto --python_out=. protoc ./object_detection/protos/string_int_label_map.proto --python_out=. protoc ./object_detection/protos/train.proto --python_out=.2.
报错说不是命令
是因为这是在linux环境下运行的
Windows需要下列命令
1.LINUX 命令 export PYTHONPATH=$PYTHONPATH:'pwd':'pwd'/slim 2.Windows 命令 SET PYTHONPATH=%cd%;%cd%\slim 红色标志处为;3.
打开后需要输入密码
找到pycharm中运行后的输出结果,其中token后面的复制粘贴到密码中即可
