在https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md上查看Protobuf编译
并正确设置PYTHONPATH,这就是我为Windows解决的方法
对于Windows:
来自tensorflow / models / research /第1步:
protoc object_detection/protos/*.proto --python_out=.
第2步:
set PYTHonPATH= <Path to 'research' Directory> ; <Path to 'slim' Directory>
例如:
set PYTHonPATH=C:UsersGuyDesktopmodelsresearch;C:UsersGuyDesktopmodelsresearchslim
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)