Last active
March 8, 2019 18:10
-
-
Save ThomasDelteil/63a37d87bb14c7b98f0b4cd9a4167d32 to your computer and use it in GitHub Desktop.
GRT_Amazon_08
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
#!/bin/bash | |
echo ". /home/ec2-user/anaconda3/etc/profile.d/conda.sh" >> ~/.bashrc | |
source ~/.bashrc | |
source activate mxnet_p36 | |
sudo chown -R ec2-user /tmp | |
pip uninstall mxnet-cu90mkl -y | |
pip install mxnet-cu90mkl --user --pre --upgrade | |
pip install gluonnlp --user --pre --upgrade | |
pip install gluoncv --user --pre --upgrade | |
cd /home/ec2-user/SageMaker | |
git clone https://gist.github.com/ThomasDelteil/63a37d87bb14c7b98f0b4cd9a4167d32 GRT_gluon_toolkits | |
wget http://gluon-nlp.mxnet.io/_downloads/sentence_embedding.zip | |
unzip sentence_embedding.zip -d GRT_gluon_toolkits | |
rm sentence_embedding.zip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment