AIAlpha icon indicating copy to clipboard operation
AIAlpha copied to clipboard

FileNotFoundError

Open umar10001000 opened this issue 4 years ago • 5 comments

I'm having some issues, getting these errors:

C:\Windows\System32> C:\Users\kanzl\Downloads\AIAlpha-master\AIAlpha-master\run.py install Using TensorFlow backend. Creating tick bars... Reading data in batches of 20000000 Traceback (most recent call last): File "C:\Users\kanzl\Downloads\AIAlpha-master\AIAlpha-master\run.py", line 14, in base.batch_run() File "C:\Users\kanzl\Downloads\AIAlpha-master\AIAlpha-master\data_processor\base_bars.py", line 23, in batch_run for batch in pd.read_csv(self.file_path, chunksize=self.batch_size, index_col=0): File "C:\Users\kanzl\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\io\parsers.py", line 676, in parser_f return _read(filepath_or_buffer, kwds) File "C:\Users\kanzl\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\io\parsers.py", line 448, in _read parser = TextFileReader(fp_or_buf, **kwds) File "C:\Users\kanzl\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\io\parsers.py", line 880, in init self._make_engine(self.engine) File "C:\Users\kanzl\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\io\parsers.py", line 1114, in _make_engine self._engine = CParserWrapper(self.f, **self.options) File "C:\Users\kanzl\AppData\Local\Programs\Python\Python38\lib\site-packages\pandas\io\parsers.py", line 1891, in init self._reader = parsers.TextReader(src, **kwds) File "pandas_libs\parsers.pyx", line 374, in pandas._libs.parsers.TextReader.cinit File "pandas_libs\parsers.pyx", line 674, in pandas._libs.parsers.TextReader._setup_parser_source FileNotFoundError: [Errno 2] File sample_data/raw_data/price_vol.csv does not exist: 'sample_data/raw_data/price_vol.csv'

If you could help I would appreciate

umar10001000 avatar Mar 27 '20 13:03 umar10001000

I have a diff file that is missing :(

FileNotFoundError: [Errno 2] No such file or directory: 'data/processed_data/sample_data/processed_data/autoencoder_data/train_x.csv'

bluusun avatar Jun 08 '20 22:06 bluusun

Me too...

justin13601 avatar Jul 11 '20 01:07 justin13601

Did somebody resolve it ?

saookami avatar Dec 18 '20 12:12 saookami

turn data_processing.py Class line 95-100 to train_x.to_csv(f'{csv_path}/train_x.csv') train_y.to_csv(f'{csv_path}/train_y.csv', header=['y_values']) test_x.to_csv(f'{csv_path}/test_x.csv') test_y.to_csv(f'{csv_path}/test_y.csv', header=['y_values']) fulldata.to_csv(f'{csv_path}/full_x.csv') y_values.to_csv(f'{csv_path}/full_y.csv', header=['y_values'])

saookami avatar Jan 06 '21 13:01 saookami

@saookami is right. that worked.

Too bad we cant make a PR for this. Is the author of this repo still maintaining it?

ahmedyounis avatar Feb 05 '21 00:02 ahmedyounis