EdjeElectronics / TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10

How to train a TensorFlow Object Detection Classifier for multiple object detection on Windows
Apache License 2.0
2.93k stars 1.3k forks source link

Cannot run generate_tfrecord.py #380

Open Noa20 opened 5 years ago

Noa20 commented 5 years ago

FileNotFoundError: [Errno 2] File b'imagestrain_labels.csv' does not exist: b'imagestrain_labels.csv'

Traceback (most recent call last): File "generate_tfrecord.py", line 100, in tf.app.run() File "/opt/anaconda3/envs/tensorflow2/lib/python3.7/site-packages/tensorflow/python/platform/app.py", line 125, in run _sys.exit(main(argv)) File "generate_tfrecord.py", line 88, in main examples = pd.read_csv(FLAGS.csv_input) File "/opt/anaconda3/envs/tensorflow2/lib/python3.7/site-packages/pandas/io/parsers.py", line 685, in parser_f return _read(filepath_or_buffer, kwds) File "/opt/anaconda3/envs/tensorflow2/lib/python3.7/site-packages/pandas/io/parsers.py", line 457, in _read parser = TextFileReader(fp_or_buf, kwds) File "/opt/anaconda3/envs/tensorflow2/lib/python3.7/site-packages/pandas/io/parsers.py", line 895, in init self._make_engine(self.engine) File "/opt/anaconda3/envs/tensorflow2/lib/python3.7/site-packages/pandas/io/parsers.py", line 1135, in _make_engine self._engine = CParserWrapper(self.f, self.options) File "/opt/anaconda3/envs/tensorflow2/lib/python3.7/site-packages/pandas/io/parsers.py", line 1917, in init self._reader = parsers.TextReader(src, **kwds) File "pandas/_libs/parsers.pyx", line 382, in pandas._libs.parsers.TextReader.cinit File "pandas/_libs/parsers.pyx", line 689, in pandas._libs.parsers.TextReader._setup_parser_source FileNotFoundError: [Errno 2] File b'imagestrain_labels.csv' does not exist: b'imagestrain_labels.csv'

JulianOrteil commented 5 years ago

What is the command you are using to run the Python script?

Sarah906 commented 5 years ago

did you find any solution?