min-dalle-test/setup.sh
kuprel 0af6b1731f
Update setup.sh
removed `git lfs` dependency
2022-06-28 21:18:24 -04:00

14 lines
481 B
Bash

#!/bin/bash
pip install -r requirements.txt
mkdir -p pretrained/vqgan
# download vqgan
curl https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384/resolve/main/flax_model.msgpack -L --output ./pretrained/vqgan/flax_model.msgpack
# download dalle-mini and dalle mega
wandb login --anonymously
wandb artifact get --root=./pretrained/dalle_bart_mini dalle-mini/dalle-mini/mini-1:v0
wandb artifact get --root=./pretrained/dalle_bart_mega dalle-mini/dalle-mini/mega-1-fp16:v14