TannerGilbert / Tensorflow-Object-Detection-API-Train-Model

Train a object detection model with the Tensorflow Object Detection API and Tensorflow 2.
https://gilberttanner.com/blog/creating-your-own-objectdetector
MIT License
192 stars 103 forks source link

Issue when: 4. Generating Training data #11

Closed yo0x closed 3 years ago

yo0x commented 3 years ago

Hi Tanner, generate_tfrecord.py in section number 4 ( Generating Training data) Dat Tran’s raccoon detector, it address tf 1.x. while your code addresses tf2.x. Generates: Traceback (most recent call last): File "csv_a_tf.py", line 24, in flags = tf.app.flags AttributeError: module 'tensorflow' has no attribute 'app'

i recommend updating the reference to another repo (maybe https://github.com/douglasrizzo/detection_util_scripts) Best regards yo0x

TannerGilbert commented 3 years ago

I updated the readme as requested. Thanks for pointing out that the section wasn't up-to-date anymore.