[英]Unable to compile .proto files for Tensorflow object-detection API
[英]RuntimeError: Did not find any input files matching the glob pattern ['D:\\ML\\Object-Detection\\data\train.record']
嘿,我正在做一个 tensorflow 项目。 我正在使用这个网站的代码,当我运行我的train.py
文件时,我收到以下错误。
RuntimeError: 没有找到任何匹配 glob 模式的输入文件 ['D:\ML\Object-Detection\data\train.record']
将斜杠更改为“/”对我有用
小心文件扩展名可能对其他人有帮助。
我在需要创建.tfrecord时生成了.record
反之亦然:)
我发现发生了什么。
而不是使用现有的pipeline.config我做了下载
!wget https://raw.githubusercontent.com/tensorflow/models/master/research/object_detection/configs/tf2/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8.config
在此示例中,我使用了 ssd_mobilenet ,您可以更改您的模型名称。 在此处检查 tensorflow 对象检测 api 配置
如果它还没有工作。 请尝试删除“/”并在目录前面插入
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.