From 2bb4759f61073b58d23ebe9c33937ace267b70fa Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 28 Jun 2022 12:51:24 -0400 Subject: [PATCH] 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 --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 7df64c6..4793242 100644 --- a/setup.sh +++ b/setup.sh @@ -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