Added required pip install packages
This commit is contained in:
@@ -8,36 +8,27 @@ LINT_FILES=tts.py
|
||||
help:
|
||||
@echo "make env"
|
||||
@echo " creates and prepares the environment"
|
||||
@echo "make tts"
|
||||
@echo " runs text-to-speech synthesis"
|
||||
@echo "make lint"
|
||||
@echo " runs pylint"
|
||||
@echo "make clean"
|
||||
@echo " cleans the development environment"
|
||||
|
||||
data: images
|
||||
images:
|
||||
wget https://s3.us-east-2.amazonaws.com/naturalimages02/images.tar.gz
|
||||
tar -xzf images.tar.gz
|
||||
|
||||
env: $(VENV_NAME)/bin/activate
|
||||
$(VENV_NAME)/bin/activate:
|
||||
test -d $(VENV_NAME) || python3 -m venv $(VENV_NAME)
|
||||
${PYTHON} -m pip install -U pip
|
||||
${PYTHON} -m pip install fairseq
|
||||
${PYTHON} -m pip install scipy
|
||||
${PYTHON} -m pip install IPython
|
||||
${PYTHON} -m pip install huggingface_hub
|
||||
${PYTHON} -m pip install tensorboardX
|
||||
${PYTHON} -m pip install g2p_en
|
||||
touch $(VENV_NAME)/bin/activate
|
||||
|
||||
linear_regression: env
|
||||
${PYTHON} linear_regression.py
|
||||
|
||||
lenet5: env
|
||||
${PYTHON} lenet5.py
|
||||
|
||||
vgg16_training: fine_tune.h5
|
||||
fine_tune.h5:
|
||||
${PYTHON} vgg16_prepare_train_model.py
|
||||
vgg16: env data vgg16_training
|
||||
${PYTHON} vgg16_test_model.py
|
||||
|
||||
yolov3: env data
|
||||
${PYTHON} yolov3.py
|
||||
tts: env
|
||||
${PYTHON} tts.py --input=input.txt --output=output.wav; afplay output.wav
|
||||
|
||||
lint: env
|
||||
${PYTHON} -m pylint --rcfile=pylintrc $(LINT_FILES)
|
||||
|
||||
Reference in New Issue
Block a user