raccoon_dataset
raccoon_dataset copied to clipboard
Error occurs when using generate_tfrecord.py
This is the error I got when running generate_tfrecord.py
Traceback (most recent call last):
File "generate_tfrecord_main.py", line 104, in
Could anyone help me with this?
This can't be the full error? What is output_path?
Hello, I had the same problem:
File "C:\Users\ucesfpa\Object_Detection\models-master\research\raccoon_dataset-master\generate_tfrecord.py", line 85, in main writer = tf.python_io.TFRecordWriter(FLAGS.output_path) File "C:\Users\ucesfpa\Anaconda3\envs\deeplearning\lib\site-packages\tensorflow\python\platform\flags.py", line 55, in getattr raise AttributeError(name) AttributeError: output_path
It looks like there is a problem in the file flags.py at the line highlited with "<<<---"
def getattr(self, name): """Retrieves the 'value' attribute of the flag --name.""" try: parsed = self.dict['__parsed'] except KeyError: # May happen during pickle.load or copy.copy raise AttributeError(name) if not parsed: self._parse_flags() if name not in self.dict['__flags']: raise AttributeError(name) <<<<-------- return self.dict['__flags'][name]
Can you Help me in solving this problem??
Regards, Fabio