kalyana sundaram
kalyana sundaram

Reputation: 19

RuntimeError: Did not find any input files matching the glob pattern ['D:\\ML\\Object-Detection\\data\train.record']

Hey I am working on a tensorflow project. I am using codes from this website and when I run my train.py file I'm getting the below error.

RuntimeError: Did not find any input files matching the glob pattern ['D:\ML\Object-Detection\data\train.record']

Upvotes: 1

Views: 3256

Answers (3)

Nei Rin Zara Lwin
Nei Rin Zara Lwin

Reputation: 11

I found what happened.

instead of using existed pipeline.config I did a download

!wget https://raw.githubusercontent.com/tensorflow/models/master/research/object_detection/configs/tf2/ssd_mobilenet_v2_fpnlite_640x640_coco17_tpu-8.config

In this example I used ssd_mobilenet, for you, you can change your model name. check tensorflow object detection api config here

If it's not work yet. please try to remove '/' and insert infront of directory

Upvotes: 1

ilya antipyev
ilya antipyev

Reputation: 21

Being careful with file extension might be helpful for other.

I have generated .record while it was required to create .tfrecord

And vice versa :)

Upvotes: 1

Sai Nivedh
Sai Nivedh

Reputation: 31

Changing the slash to '/' worked for me

Upvotes: 3

Related Questions