mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-11 02:24:38 +08:00
Filter torchvision warnings (#954)
This commit is contained in:
parent
5b0f1ffacb
commit
b67f96fc56
@ -18,6 +18,7 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import warnings
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
@ -32,6 +33,8 @@ from nerfstudio.configs.config_utils import to_immutable_dict
|
||||
# model instances
|
||||
from nerfstudio.utils import writer
|
||||
|
||||
warnings.filterwarnings("ignore", module="torchvision")
|
||||
|
||||
CONSOLE = Console(width=120)
|
||||
|
||||
# Pretty printing class
|
||||
|
||||
Loading…
Reference in New Issue
Block a user