Make rich console global (#1916)

This commit is contained in:
Matthew Tancik authored and GitHub committed 2023-05-12 14:20:40 -07:00
1 parent 02f449b661
commit 4242a3c982
49 files changed
+44 -150

No files matched your search

+1 -3
View File
@@ -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