jych / nips2015_vrnn

288 stars 99 forks source link

Cannot find concatenated train.txt and valid.txtfiles! See the README in data #1

Open skaae opened 8 years ago

skaae commented 8 years ago

Im trying to run the IAMOnDB example.

I get an error when i run fetch_iamondb(...)

Cannot find concatenated train.txt and valid.txtfiles! See the README in data

I downloaded and unpacked

  1. ascii-all.tar.gz
  2. lineImages-all.tar.gz
  3. lineStrokes-all.tar.gz
  4. original-xml-all.tar.gz
  5. original-xml-part.tar.gz

Can you point me in the right direction?

I also had some trouble figuring out from which folder i should execute the files such that CLE is properly imported?

jych commented 8 years ago

Hi @skaae,

you might want to create a directory and put all the zip files in there. Say your directory name is 'iamondb', extract all the files under there. For instance, unzipped lineStrokes should be under: $path_before_iamondb_dir/iamondb/ 'train.txt' and 'valid.txt' are generated based upon the guideline in Alex Graves' review paper (http://arxiv.org/pdf/1308.0850.pdf). We will add the text files under datasets dir of the repo.

kastnerkyle commented 8 years ago

I have a PR for this

kastnerkyle commented 8 years ago

For me, I added cle to the PYTHONPATH and all was well. Will give more details once I verify all is OK with my setup

kastnerkyle commented 8 years ago

I should clarify - my PYTHONPATH has the directory where cle exists added to it. In my case, I keep all my source code repos in ~/src/ , e.g. ~/src/cle . So I added PYTHONPATH="~/src/":$PYTHONPATH to my .bashrc