-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (20 loc) · 901 Bytes
/
Makefile
File metadata and controls
25 lines (20 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: install-sys-packages install-python-packages install-python-packages-colab download-data-from-google-drive generate-reports
install-sys-packages:
sudo apt update && sudo apt install espeak ffmpeg libespeak1
install-python-packages:
pip install gTTS boto3 scikit-optimize botocore matplotlib numpy opencv_python pandas plotly scikit_learn tabulate easyocr jupyterlab nbconvert kaleido
install-python-packages-colab:
pip install gTTS boto3 scikit-optimize easyocr kaleido
download-data-from-google-drive:
cp -r /content/drive/MyDrive/iam_dataset /
rm -rf /words
mkdir -p /words
tar xvzf /iam_dataset/words.tgz -C /words
rm -rf /forms
mkdir -p /forms
tar xvzf /iam_dataset/formsA-D.tgz -C /forms
tar xvzf /iam_dataset/formsE-H.tgz -C /forms
tar xvzf /iam_dataset/formsI-Z.tgz -C /forms
rm -rf /words_label
mkdir -p /words_label
tar xvzf /iam_dataset/ascii.tgz -C /words_label