mlaradji / AttnGAN

AttnGAN implementation of AI-Platform text-to-image generation task
MIT License
1 stars 0 forks source link

mlflow: bash: python: command not found #2

Open mlaradji opened 5 years ago

mlaradji commented 5 years ago

Issue

Running mlflow run . -e birds results in the following error:

2019/07/20 03:37:31 INFO mlflow.projects: === Created directory /tmp/tmpaup50vyo for downloading remote URIs passed to arguments of type 'path' ===
2019/07/20 03:37:31 INFO mlflow.projects: === Running command 'source /root/miniconda3/bin/activate mlflow-27cdc5cb4fc5102311c02a771638ea390626c7b3 && python src/download.py birds --raw --metadata --overwrite && \ python src/pretrain_DAMSM.py --cfg cfg/birds/DAMSM/bird.yml --gpu 0 && \ python src/main.py --cfg cfg/birds/bird_attn2.yml --gpu 0 && \ python src/main.py --cfg cfg/birds/eval_bird.yml --gpu 0' in run with ID 'f41381a2bc754da1975f03ee9a5bbd7f' === 
{'metadata', 'raw'}
Downloading http://www.vision.caltech.edu/visipedia-data/CUB-200-2011/CUB_200_2011.tgz into data/CUB_200_2011.tgz...
Successfully downloaded http://www.vision.caltech.edu/visipedia-data/CUB-200-2011/CUB_200_2011.tgz into data/CUB_200_2011.tgz.
bash:  python: command not found
2019/07/20 03:39:24 ERROR mlflow.cli: === Run (ID 'f41381a2bc754da1975f03ee9a5bbd7f') failed ===

Resolution

This is not being worked on. I have opted to have one command per mlflow entrypoint.