Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundError #27

Open
umar10001000 opened this issue Mar 27, 2020 · 5 comments
Open

FileNotFoundError #27

umar10001000 opened this issue Mar 27, 2020 · 5 comments

Comments

@umar10001000
Copy link

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

@bluusun
Copy link

bluusun commented Jun 8, 2020

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'

@justin13601
Copy link

Me too...

@saookami
Copy link

Did somebody resolve it ?

@saookami
Copy link

saookami commented Jan 6, 2021

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'])

@ahmedyounis
Copy link

ahmedyounis commented Feb 5, 2021

@saookami is right. that worked.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants