mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-15 20:33:59 +08:00
Make DataParser config description optional
This commit is contained in:
1 parent
541e385253
commit
2ae8c83014
1 file changed
+2
-1
@@ -16,6 +16,7 @@
|
||||
This package contains specifications used to register plugins.
|
||||
"""
|
||||
from dataclasses import dataclass
|
||||
from typing import Optional
|
||||
|
||||
from nerfstudio.data.dataparsers.base_dataparser import DataParserConfig
|
||||
from nerfstudio.engine.trainer import TrainerConfig
|
||||
@@ -43,5 +44,5 @@ class DataParserSpecification:
|
||||
|
||||
config: DataParserConfig
|
||||
"""DataParser configuration"""
|
||||
description: str
|
||||
description: Optional[str] = None
|
||||
"""DataParser description shown in `ns-train` help"""
|
||||
Reference in new issue
Block a user