I'm currently trying to retrain Google's Tensorflow Object Detection
I followed the steps in sentdex's tutorial (and probably like many of you did).
After I generated the tf_records and moved them in the directory models/research/object_detection, everything should be set for the training.
To initialize the training process I used: python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/ssd_mobilenet_v1_pets.config
The result should be the command line printing the current step and accuracy reached, but instead i got:
Traceback (most recent call last):
File "train.py", line 49, in <module>
from object_detection import trainer
File "/home/ubuntu/tensorflow/research/object_detection/trainer.py", line 27, in <module>
from object_detection.builders import preprocessor_builder
File "/home/ubuntu/tensorflow/research/object_detection/builders/preprocessor_builder.py", line 21, in <module>
from object_detection.protos import preprocessor_pb2
File "/home/ubuntu/tensorflow/research/object_detection/protos/preprocessor_pb2.py", line 71, in <module>
options=None, file=DESCRIPTOR),
TypeError: __new__() got an unexpected keyword argument 'file'
I am working on Amazon's g2.2xlarge with Ubuntu 16.04 which came with tensorflow and nvidia cuda drivers ready (i suppose).
Any ideas why the error? Thanks a lot!