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

Cannot download FMA dataset. #5

Closed
dansuh17 opened this issue Nov 6, 2017 · 1 comment
Closed

Cannot download FMA dataset. #5

dansuh17 opened this issue Nov 6, 2017 · 1 comment

Comments

@dansuh17
Copy link
Contributor

dansuh17 commented Nov 6, 2017

When running python main_preprocess.py fma, the following error occurs:

FileNotFoundError: File b'dataset_download/fma/fma_metadata/tracks.csv' does not exist

Following is the full error message.

Traceback (most recent call last):
  File "main_preprocess.py", line 95, in <module>
    main(sys.argv[1])
  File "main_preprocess.py", line 77, in main
    prep_fma_small()
  File "main_preprocess.py", line 46, in prep_fma_small
    tracks = pd.read_csv(os.path.join(DIR_FMA_CSV, 'tracks.csv'), index_col=0, header=[0, 1])
  File "/home/kehops/dl4mir/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 705, in parser_f
    return _read(filepath_or_buffer, kwds)
  File "/home/kehops/dl4mir/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 445, in _read
    parser = TextFileReader(filepath_or_buffer, **kwds)
  File "/home/kehops/dl4mir/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 814, in __init__
    self._make_engine(self.engine)
  File "/home/kehops/dl4mir/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 1045, in _make_engine
    self._engine = CParserWrapper(self.f, **self.options)
  File "/home/kehops/dl4mir/venv/lib/python3.5/site-packages/pandas/io/parsers.py", line 1684, in __init__
    self._reader = parsers.TextReader(src, **kwds)
  File "pandas/_libs/parsers.pyx", line 391, in pandas._libs.parsers.TextReader.__cinit__
  File "pandas/_libs/parsers.pyx", line 710, in pandas._libs.parsers.TextReader._setup_parser_source
  FileNotFoundError: File b'dataset_download/fma/fma_metadata/tracks.csv' does not exist

Should I download tracks.csv from separate source?

@keunwoochoi
Copy link
Owner

keunwoochoi commented Nov 6, 2017

Oh, right. Everything is here including metadata.

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

2 participants