Skip to content

Commit 0da42a5

Browse files
Added note about train.py in legacy folder
1 parent bf94ece commit 0da42a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,8 @@ Make the following changes to the faster_rcnn_inception_v2_pets.config file. Not
330330
Save the file after the changes have been made. That’s it! The training job is all configured and ready to go!
331331

332332
### 6. Run the Training
333+
UPDATE 9/26/18: As of version 1.9, TensorFlow has deprecated the "train.py" file and replaced it with "model_main.py" file. I haven't been able to get model_main.py to work correctly yet (I run in to errors related to pycocotools). Fortunately, the train.py file is still available in the /object_detection/legacy folder. Simply move train.py from /object_detection/legacy into the /object_detection folder and then continue following the steps below.
334+
333335
Here we go! From the \object_detection directory, issue the following command to begin training:
334336
```
335337
python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config

0 commit comments

Comments
 (0)