2020-05-25 04:28:03 +08:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
source /workspace/venv/bin/activate
|
|
|
|
|
|
|
|
pip install -r requirements-sotabench.txt
|
|
|
|
|
2020-09-24 08:12:07 +08:00
|
|
|
pip uninstall -y pillow
|
|
|
|
CC="cc -mavx2" pip install -U --force-reinstall pillow-simd
|
|
|
|
|
|
|
|
# FIXME this shouldn't be needed but sb dataset upload functionality doesn't seem to work
|
|
|
|
apt-get install wget
|
|
|
|
wget https://onedrive.hyper.ai/down/ImageNet/data/ImageNet2012/ILSVRC2012_devkit_t12.tar.gz -P ./.data/vision/imagenet
|
|
|
|
wget https://onedrive.hyper.ai/down/ImageNet/data/ImageNet2012/ILSVRC2012_img_val.tar -P ./.data/vision/imagenet
|