Merge branch 'main' of https://github.com/kuprel/min-dalle
This commit is contained in:
commit
d846cab1b6
|
@ -1,2 +1,3 @@
|
||||||
torch
|
torch
|
||||||
flax==0.4.2
|
flax==0.4.2
|
||||||
|
wandb
|
8
setup.sh
8
setup.sh
|
@ -2,14 +2,12 @@
|
||||||
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
mkdir -p pretrained
|
mkdir -p pretrained/vqgan
|
||||||
|
|
||||||
# download vqgan
|
# download vqgan
|
||||||
git lfs install
|
curl https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384/resolve/main/flax_model.msgpack -L --output ./pretrained/vqgan/flax_model.msgpack
|
||||||
git clone https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384 ./pretrained/vqgan
|
|
||||||
|
|
||||||
# download dalle-mini and dalle mega
|
# download dalle-mini and dalle mega
|
||||||
pip install wandb
|
wandb login --anonymously
|
||||||
wandb login
|
|
||||||
wandb artifact get --root=./pretrained/dalle_bart_mini dalle-mini/dalle-mini/mini-1:v0
|
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
|
wandb artifact get --root=./pretrained/dalle_bart_mega dalle-mini/dalle-mini/mega-1-fp16:v14
|
||||||
|
|
Loading…
Reference in New Issue
Block a user