Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
JimmyYang20 17cbfc1b9a | 2 years ago | |
---|---|---|
.. | ||
Dockerfile | 3 years ago | |
README.md | 2 years ago | |
build_image.sh | 3 years ago | |
download.py | 2 years ago | |
push_image.sh | 2 years ago | |
requirements.txt | 3 years ago |
storage initializer download script
python3 download.py s3://models/classification/model.tar.gz /tmp/models/
# we then download model.tar.gz and extract it into /tmp/models/
export S3_ENDPOINT_URL=https://play.min.io
export ACCESS_KEY_ID=Q3AM3UQ867SPQQA43P2F
export SECRET_ACCESS_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
python3 download.py s3://datasets/mnist/1.jpg /tmp
# we then download the file 1.jpg into /tmp, and result is /tmp/1.jpg.
python3 download.py s3://datasets/mnist /tmp
# we then download the folder mnist into /tmp, and result is /tmp/mnist.
python3 download.py http://192.168.3.20/model.pb /tmp/models/
# we then download model.pb into /tmp/models/
python3 download.py http://192.168.3.20/model.pb /tmp/models/ s3://datasets/mnist /tmp/mnist/
# we then download model.pb into /tmp/models/
# and mnist into /tmp/mnist
s3://datasets/mnist-index.txt
:# this first uncomment line is the directory
s3://datasets
mnist/0.jpeg
mnist/1.jpeg
mnist/2.jpeg
export S3_ENDPOINT_URL=https://play.min.io
export ACCESS_KEY_ID=Q3AM3UQ867SPQQA43P2F
export SECRET_ACCESS_KEY=zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG
# note the char @ indicates it's indirect
python3 download.py s3://datasets/mnist-index.txt @/tmp/mnist
# then only download the mnist/{0,1,2}.jpeg into /tmp/mnist/
No Description
Go Python Text Shell Markdown other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》