Multiple pipelines - training and evaluation (#250)
- introduce best practice for multiple pipelines - Implement evaluation pipeline - allow for using relative ckpt paths - general refactoring - update README.md
This commit is contained in:
1 parent
02d3b65aaa
commit
fe4e61edc1
25 files changed
+347
-185
No files matched your search
@@ -0,0 +1,35 @@
|
||||
import pytest
|
||||
|
||||
from tests.helpers.run_command import run_command
|
||||
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_debug_default():
|
||||
command = ["train.py", "debug=default"]
|
||||
run_command(command)
|
||||
|
||||
|
||||
def test_debug_limit_batches():
|
||||
command = ["train.py", "debug=limit_batches"]
|
||||
run_command(command)
|
||||
|
||||
|
||||
def test_debug_overfit():
|
||||
command = ["train.py", "debug=overfit"]
|
||||
run_command(command)
|
||||
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_debug_profiler():
|
||||
command = ["train.py", "debug=profiler"]
|
||||
run_command(command)
|
||||
|
||||
|
||||
def test_debug_step():
|
||||
command = ["train.py", "debug=step"]
|
||||
run_command(command)
|
||||
|
||||
|
||||
def test_debug_test_only():
|
||||
command = ["train.py", "debug=test_only"]
|
||||
run_command(command)
|
||||
Reference in new issue
Block a user