Dev (#135)
* remove logging best so far metric values from mnist model * update tests * update README.md * comment out wandb tests
This commit is contained in:
1 parent
4bdf4e62c6
commit
d5da445e8d
7 files changed
+64
-111
No files matched your search
@@ -8,33 +8,33 @@ Use the following command to skip wandb tests:
|
||||
"""
|
||||
|
||||
|
||||
@pytest.mark.wandb
|
||||
def test_wandb_optuna_sweep():
|
||||
"""Test wandb logging with Optuna sweep."""
|
||||
command = [
|
||||
"run.py",
|
||||
"-m",
|
||||
"hparams_search=mnist_optuna",
|
||||
"trainer=default",
|
||||
"trainer.max_epochs=10",
|
||||
"trainer.limit_train_batches=20",
|
||||
"logger=wandb",
|
||||
"logger.wandb.project=template-tests",
|
||||
"logger.wandb.group=Optuna_SimpleDenseNet_MNIST",
|
||||
"hydra.sweeper.n_trials=5",
|
||||
]
|
||||
run_command(command)
|
||||
# @pytest.mark.wandb
|
||||
# def test_wandb_optuna_sweep():
|
||||
# """Test wandb logging with Optuna sweep."""
|
||||
# command = [
|
||||
# "run.py",
|
||||
# "-m",
|
||||
# "hparams_search=mnist_optuna",
|
||||
# "trainer=default",
|
||||
# "trainer.max_epochs=10",
|
||||
# "trainer.limit_train_batches=20",
|
||||
# "logger=wandb",
|
||||
# "logger.wandb.project=template-tests",
|
||||
# "logger.wandb.group=Optuna_SimpleDenseNet_MNIST",
|
||||
# "hydra.sweeper.n_trials=5",
|
||||
# ]
|
||||
# run_command(command)
|
||||
|
||||
|
||||
@pytest.mark.wandb
|
||||
def test_wandb_callbacks():
|
||||
"""Test wandb callbacks."""
|
||||
command = [
|
||||
"run.py",
|
||||
"trainer=default",
|
||||
"trainer.max_epochs=3",
|
||||
"logger=wandb",
|
||||
"logger.wandb.project=template-tests",
|
||||
"callbacks=wandb",
|
||||
]
|
||||
run_command(command)
|
||||
# @pytest.mark.wandb
|
||||
# def test_wandb_callbacks():
|
||||
# """Test wandb callbacks."""
|
||||
# command = [
|
||||
# "run.py",
|
||||
# "trainer=default",
|
||||
# "trainer.max_epochs=3",
|
||||
# "logger=wandb",
|
||||
# "logger.wandb.project=template-tests",
|
||||
# "callbacks=wandb",
|
||||
# ]
|
||||
# run_command(command)
|
||||
Reference in new issue
Block a user