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 find concatenated train.txt and valid.txtfiles! See the README in data #1

Open
skaae opened this issue Dec 1, 2015 · 4 comments

Comments

@skaae
Copy link

skaae commented Dec 1, 2015

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
Copy link
Owner

jych commented Dec 1, 2015

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
Copy link

I have a PR for this

@kastnerkyle
Copy link

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
Copy link

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

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

3 participants