min-dalle-test/setup.sh
Evan Pratten 2bb4759f61
Explicitly call wandb as a python module.
This change allows wandb to be called on systems that do not automatically add python modules to $PATH
2022-06-28 12:51:24 -04:00

16 lines
467 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
pip install wandb
python -m wandb login
python -m wandb artifact get --root=./pretrained/dalle_bart_mini dalle-mini/dalle-mini/mini-1:v0
python -m wandb artifact get --root=./pretrained/dalle_bart_mega dalle-mini/dalle-mini/mega-1-fp16:v14