mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-21 23:25:39 +08:00
Avoid boolean flag auto conversion (#929)
This commit is contained in:
1 parent
c5c980dd4d
commit
ee6b007155
3 files changed
+5
-3
No files matched your search
@@ -185,7 +185,9 @@ method_configs["tensorf"] = Config(
|
||||
)
|
||||
|
||||
AnnotatedBaseConfigUnion = tyro.conf.SuppressFixed[ # Don't show unparseable (fixed) arguments in helptext.
|
||||
tyro.extras.subcommand_type_from_defaults(defaults=method_configs, descriptions=descriptions)
|
||||
tyro.conf.FlagConversionOff[
|
||||
tyro.extras.subcommand_type_from_defaults(defaults=method_configs, descriptions=descriptions)
|
||||
]
|
||||
]
|
||||
"""Union[] type over config types, annotated with default instances for use with
|
||||
tyro.cli(). Allows the user to pick between one of several base configurations, and
|
||||
|
||||
Reference in new issue
Block a user