-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
W&B prompt when running an experiment #53
Comments
I agree, we should check how to make it be quiet by default. |
According to (wandb/wandb#764 (comment)), you can completely disable & silence wandb, making all calls to the package a noop without raising exceptions. This can be done by running: |
Let's implement both options ot inform user of how to disable wandb:
|
add instruction on how to disable wandb (Fixes #53)
I don't know how I missed that but according to wandb/wandb#764 (comment), it seems possilbe to set the mode in the code when initializing wandb. It would be nice to add q parameter to set this which would be set to I'll see if I can work on that today. |
One limit of using a command line parameter (e.g. |
Overriding is maybe not too bad. I would be fine with just adding '--wand_mode on' with every run. |
I tried to find a way to just set One solution that seems better to me is to transfer the responsability of this to the experiment script (e.g. basic.py). By adding a parameter to the |
Maybe also allow running experiments without installing it. |
We can make it an optional dependency. Then, instead of importing, we can do something like this (wrapped in a function perhaps so we don't have to repeat everywhere): try:
import wandb
except ImportError:
class PassClass:
def __getattr__(self, name):
def dummy_func(*args, **kwargs):
pass
return dummy_func
wandb = PassClass() This way, when the module is not installed, |
First part (disabling by default) has been implemented in the branch zerospeech21-vg. |
Whenever I try to run an experiment I get the following prompt:
By default, I would prefer if the user doesn't have to do anything. W&B could be inactive or use choice (3) above.
The text was updated successfully, but these errors were encountered: