update setup scripts
This commit is contained in:
parent
85f5866eff
commit
ee846ba1cf
6
setup_flax.sh
vendored
6
setup_flax.sh
vendored
|
@ -9,6 +9,6 @@ mkdir -p pretrained/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
|
||||
python -m wandb login --anonymously
|
||||
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
|
||||
python3 -m wandb login --anonymously
|
||||
python3 -m wandb artifact get --root=./pretrained/dalle_bart_mini dalle-mini/dalle-mini/mini-1:v0
|
||||
python3 -m wandb artifact get --root=./pretrained/dalle_bart_mega dalle-mini/dalle-mini/mega-1-fp16:v14
|
||||
|
|
2
setup_torch.sh
vendored
2
setup_torch.sh
vendored
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
pip install torch
|
||||
pip3 install torch
|
||||
|
||||
mkdir -p ./pretrained/dalle_bart_mega/
|
||||
curl https://huggingface.co/kuprel/min-dalle/resolve/main/vocab.json -L --output ./pretrained/dalle_bart_mega/vocab.json
|
||||
|
|
Loading…
Reference in New Issue
Block a user