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
@@ -2,6 +2,12 @@ from tests.helpers.run_command import run_command
|
||||
from tests.helpers.runif import RunIf
|
||||
|
||||
|
||||
def test_fast_dev_run():
|
||||
"""Run 1 train, val, test batch."""
|
||||
command = ["run.py", "trainer=default", "trainer.fast_dev_run=true"]
|
||||
run_command(command)
|
||||
|
||||
|
||||
def test_default_cpu():
|
||||
"""Test default configuration on CPU."""
|
||||
command = ["run.py", "trainer.max_epochs=1", "trainer.gpus=0"]
|
||||
@@ -20,12 +26,6 @@ def test_default_gpu():
|
||||
run_command(command)
|
||||
|
||||
|
||||
def test_fast_dev_run():
|
||||
"""Run 1 train, val, test batch."""
|
||||
command = ["run.py", "trainer=default", "trainer.fast_dev_run=true"]
|
||||
run_command(command)
|
||||
|
||||
|
||||
def test_experiments():
|
||||
"""Train 1 epoch with all experiment configs."""
|
||||
command = ["run.py", "-m", "experiment=glob(*)", "trainer.max_epochs=1"]
|
||||
|
||||
Reference in new issue
Block a user