min-dalle-test/setup.sh
Andrew Ginns 3af89066e8 Simplified requirements:
* No wandb login
* wandb install as part of requirements.txt
2022-06-28 21:34:57 +01:00

15 lines
433 B
Bash

#!/bin/bash
pip install -r requirements.txt
mkdir -p pretrained
# download vqgan
git lfs install
git clone https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384 ./pretrained/vqgan
# 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