mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-16 04:43:52 +08:00
Make rich console global (#1916)
This commit is contained in:
1 parent
02f449b661
commit
4242a3c982
49 files changed
+44
-150
No files matched your search
@@ -25,7 +25,6 @@ import cv2
|
||||
import numpy as np
|
||||
import requests
|
||||
import torch
|
||||
from rich.console import Console
|
||||
from rich.progress import track
|
||||
|
||||
# TODO(1480) use pycolmap instead of colmap_parsing_utils
|
||||
@@ -38,11 +37,9 @@ from nerfstudio.data.utils.colmap_parsing_utils import (
|
||||
)
|
||||
from nerfstudio.process_data.process_data_utils import CameraModel
|
||||
from nerfstudio.utils import colormaps
|
||||
from nerfstudio.utils.rich_utils import status
|
||||
from nerfstudio.utils.rich_utils import CONSOLE, status
|
||||
from nerfstudio.utils.scripts import run_command
|
||||
|
||||
CONSOLE = Console(width=120)
|
||||
|
||||
|
||||
def get_colmap_version(colmap_cmd: str, default_version=3.8) -> float:
|
||||
"""Returns the version of COLMAP.
|
||||
|
||||
Reference in new issue
Block a user