mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-26 19:10:06 +08:00
Reduced tyro overhead + helptext formatting (#719)
* `ns-train` helptext formatting for tyro 0.3.23 * Remove unused import
This commit is contained in:
1 parent
eaa16e535a
commit
05d264a335
4 files changed
+46
-18
No files matched your search
@@ -23,7 +23,6 @@ from typing import Dict
|
||||
import tyro
|
||||
|
||||
from nerfstudio.configs.base_config import Config, TrainerConfig, ViewerConfig
|
||||
from nerfstudio.configs.config_utils import convert_markup_to_ansi
|
||||
from nerfstudio.data.datamanagers import VanillaDataManagerConfig
|
||||
from nerfstudio.data.dataparsers.blender_dataparser import BlenderDataParserConfig
|
||||
from nerfstudio.data.dataparsers.friends_dataparser import FriendsDataParserConfig
|
||||
@@ -40,15 +39,12 @@ from nerfstudio.pipelines.dynamic_batch import DynamicBatchPipelineConfig
|
||||
|
||||
method_configs: Dict[str, Config] = {}
|
||||
descriptions = {
|
||||
"nerfacto": "[bold green]Recommended[/bold green] Real-time model tuned for real captures. "
|
||||
+ "This model will be continually updated.",
|
||||
"nerfacto": "Recommended real-time model tuned for real captures. This model will be continually updated.",
|
||||
"instant-ngp": "Implementation of Instant-NGP. Recommended real-time model for bounded synthetic data.",
|
||||
"mipnerf": "High quality model for bounded scenes. [red]*slow*",
|
||||
"mipnerf": "High quality model for bounded scenes. (slow)",
|
||||
"semantic-nerfw": "Predicts semantic segmentations and filters out transient objects.",
|
||||
"vanilla-nerf": "Original NeRF model. [red]*slow*",
|
||||
"vanilla-nerf": "Original NeRF model. (slow)",
|
||||
}
|
||||
descriptions = {k: convert_markup_to_ansi(v) for k, v in descriptions.items()}
|
||||
|
||||
|
||||
method_configs["nerfacto"] = Config(
|
||||
method_name="nerfacto",
|
||||
|
||||
Reference in new issue
Block a user