Last active
March 12, 2020 17:48
-
-
Save zhanghang1989/1349cd9733d79693f2aad36bb9f3166b to your computer and use it in GitHub Desktop.
tutorial sagemaker configuration
This file contains hidden or 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
#!/bin/bash | |
sudo -u ec2-user -i <<'EOF' | |
cd ~ | |
wget https://autogluon.s3-us-west-2.amazonaws.com/autogluon_tutorial/build_contrib.yml | |
conda env create --name autogluon -f build_contrib.yml | |
wget https://autogluon.s3-us-west-2.amazonaws.com/autogluon_tutorial/prefetch.py | |
source activate autogluon | |
pip install https://autogluon.s3-us-west-2.amazonaws.com/autogluon_tutorial/autogluon-0.0.4-py3-none-any.whl | |
python prefetch.py | |
source deactivate | |
cd ~/SageMaker && wget https://autogluon.s3-us-west-2.amazonaws.com/autogluon_tutorial/notebooks.zip && unzip notebooks.zip | |
rm -rf __MACOSX | |
rm notebooks.zip | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment