mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 18:44:21 +08:00
1 parent
ea591246cb
commit
edbfccccfe
19 files changed
+68
-68
No files matched your search
@@ -10,9 +10,9 @@ from pathlib import Path
|
||||
from typing import Literal, Optional, Tuple
|
||||
|
||||
import appdirs
|
||||
import dcargs
|
||||
import numpy as np
|
||||
import requests
|
||||
import tyro
|
||||
from rich.console import Console
|
||||
from rich.progress import track
|
||||
|
||||
@@ -488,12 +488,12 @@ def main(
|
||||
|
||||
def entrypoint():
|
||||
"""Entrypoint for use with pyproject scripts."""
|
||||
dcargs.extras.set_accent_color("bright_yellow")
|
||||
dcargs.cli(main)
|
||||
tyro.extras.set_accent_color("bright_yellow")
|
||||
tyro.cli(main)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
entrypoint()
|
||||
|
||||
# For sphinx docs
|
||||
get_parser_fn = lambda: dcargs.extras.get_parser(main) # noqa
|
||||
get_parser_fn = lambda: tyro.extras.get_parser(main) # noqa
|
||||
Reference in new issue
Block a user