4
0
mirror of https://github.com/nerfstudio-project/nerfstudio.git synced 2026-11-11 02:24:38 +08:00
nerfstudio/tests/test_run_train.py
Ethan Weber 0b82c1188c
Colmap type of dataset (from "friends" project) (#56)
* code to process the friends data. need to add masking

* code to process the friends data. need to add masking

* black

* trying to fix black

* black fixed

* updating black version
2022-05-05 08:45:30 -07:00

16 lines
364 B
Python

"""
Default test to make sure train runs
"""
import pytest
from hydra 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/tests/")
conf = compose("test_dryrun.yaml")
main(conf)