-
-
Save cwig/315d212964542f7f1797d5fdd122891e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/rwth-i6/returnn.git returnn_IAM | |
cd returnn_IAM/demos/mdlstm/IAM | |
rm IAM_lines/* | |
rm lines.txt | |
read -p "IAM username: " iam_username | |
wget http://www.fki.inf.unibe.ch/DBs/iamDB/data/lines/lines.tgz http://www.fki.inf.unibe.ch/DBs/iamDB/data/ascii/lines.txt --user $iam_username --ask-password | |
mkdir tmp_IAM_lines | |
tar -zxvf lines.tgz -C tmp_IAM_lines | |
find tmp_IAM_lines -name '*.png' -exec mv {} IAM_lines/ \; | |
rm -r tmp_IAM_lines | |
sed -i '252s|[#]||g' create_IAM_dataset.py | |
sed -i '253s|[#]||g' create_IAM_dataset.py | |
sed -i 's|config_demo|config_real|g' go.sh | |
sh go.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment