Files
nerfstudio/tests/test_run_train.py
T
evonneng e874e856ec changed test config file to inherit from default (#49)
* lint

* reconfigured modules in yaml

* added data module

* changed test config file
2022-04-29 16:18:30 -07:00

16 lines
371 B
Python

"""
Default test to make sure train runs
"""
import pytest
from hydra.experimental import compose, initialize
from scripts.run_train import main
@pytest.mark.filterwarnings("ignore::DeprecationWarning")
def test_run_train():
"""test run train script works properly"""
initialize(config_path="../configs/")
conf = compose("test_dryrun.yaml")
main(conf)