Rename: dcargs -> tyro (#702)

Rename `dcargs` to `tyro`
This commit is contained in:
Brent Yi authored and GitHub committed 2022-10-05 22:26:06 -07:00
1 parent ea591246cb
commit edbfccccfe
19 files changed
+68 -68

No files matched your search

+4 -4
View File
@@ -9,7 +9,7 @@ import logging
from dataclasses import dataclass
from pathlib import Path
import dcargs
import tyro
from rich.console import Console
from nerfstudio.utils.eval_utils import eval_setup
@@ -48,12 +48,12 @@ class ComputePSNR:
def entrypoint():
"""Entrypoint for use with pyproject scripts."""
dcargs.extras.set_accent_color("bright_yellow")
dcargs.cli(ComputePSNR).main()
tyro.extras.set_accent_color("bright_yellow")
tyro.cli(ComputePSNR).main()
if __name__ == "__main__":
entrypoint()
# For sphinx docs
get_parser_fn = lambda: dcargs.extras.get_parser(ComputePSNR) # noqa
get_parser_fn = lambda: tyro.extras.get_parser(ComputePSNR) # noqa