Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save proton0210/38efe7b858eddc2a47f7cdef28b0c95a to your computer and use it in GitHub Desktop.
Save proton0210/38efe7b858eddc2a47f7cdef28b0c95a to your computer and use it in GitHub Desktop.
EC2 and Kaggle follow Along gist
Kaggle data set Link: https://www.kaggle.com/datasets/vidit210/retinaloctrekognition
sudo yum update
sudo yum install awscli
aws configure --> Create S3 User Access and configure To be Deleted
sudo yum install python3
sudo yum install python3-pip
pip3 --version
pip3 install kaggle
mkdir ~/.kaggle
nano ~/.kaggle/kaggle.json
In Nano
{ "username": "", "key": "" }
chmod 600 ~/.kaggle/kaggle.json
cd ~
kaggle datasets download -d vidit210/retinaloctrekognition
unzip retinaloctrekognition.zip
cd ~
aws s3 cp data <S3_URL>/data --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment