mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-04 14:58:55 +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
@@ -28,14 +28,12 @@ import numpy as np
|
||||
import pymeshlab
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
from rich.console import Console
|
||||
from skimage import measure
|
||||
from torchtyping import TensorType
|
||||
|
||||
from nerfstudio.exporter.exporter_utils import Mesh, render_trajectory
|
||||
from nerfstudio.pipelines.base_pipeline import Pipeline
|
||||
|
||||
CONSOLE = Console(width=120)
|
||||
from nerfstudio.utils.rich_utils import CONSOLE
|
||||
|
||||
TORCH_DEVICE = Union[torch.device, str] # pylint: disable=invalid-name
|
||||
|
||||
|
||||
Reference in new issue
Block a user