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
This commit is contained in:
Evan Pratten 2022-06-28 12:51:24 -04:00 committed by GitHub
parent 5aa6fe49bf
commit 2bb4759f61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,6 @@ git clone https://huggingface.co/dalle-mini/vqgan_imagenet_f16_16384 ./pretraine
# download dalle-mini and dalle mega
pip install wandb
wandb login
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
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