I need to run my script named train.py
but I also need to set up the flas, by issuing this command in bash:
train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
However, it catches this error:
File "/Users/cvsanbuenaventura/miniconda3/lib/python3.6/site-packages/google/protobuf/text_format.py", line 1288, in _ConsumeSingleByteString raise self.ParseError('String missing ending quote: %r' % (text,)) google.protobuf.text_format.ParseError: 123:17 : String missing ending quote: '"/Users/cvsanbuenaventura/Documents/tensorflow/models/research/object_detection/train.record“'
So I want to debug in Python Shell or Jupyter Notebook line by line. However I also need to set th train_dir
flag. How do I accomplish this?