abhimanyu1990 / SSD-Mobilenet-Custom-Object-Detector-Model-using-Tensorflow-2

This repository contains the script and process to create custom SSD Mobilenet model for object detection
51 stars 26 forks source link

Tensorflow SSD - mobilenet TypeError: 'NoneType' object cannot be interpreted as an integer #8

Open ingenious-hans opened 6 months ago

ingenious-hans commented 6 months ago

This error is prompting when I run

python generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=data/train.record I am trying to build a custom object detector using Single Shot Detector mobilenet

The error when building TF records generate_tfrecord.py

python generate_tfrecord.py --csv_input=data/train_labels.csv --output_path=data/train.record

The CSV file has columns: filename, width, eight, class, xmin, ymin, xmax, ymax and the image files are well placed

zzanyoung commented 2 months ago

In my case, I encountered a similar error and ended up using roboflow to generate labels and tfrecords