Add flax model curl
This commit is contained in:
parent
3af89066e8
commit
3c0c897977
4
setup.sh
4
setup.sh
|
@ -2,11 +2,13 @@
|
||||||
|
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
mkdir -p pretrained
|
mkdir -p pretrained/vqgan
|
||||||
|
|
||||||
# download vqgan
|
# download vqgan
|
||||||
git lfs install
|
git lfs install
|
||||||
git clone https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384 ./pretrained/vqgan
|
git clone https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384 ./pretrained/vqgan
|
||||||
|
# download the flax model
|
||||||
|
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
|
# download dalle-mini and dalle mega
|
||||||
wandb login --anonymously
|
wandb login --anonymously
|
||||||
|
|
Loading…
Reference in New Issue
Block a user