2bb4759f61
This change allows wandb to be called on systems that do not automatically add python modules to $PATH
16 lines
467 B
Bash
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
|