mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 23:30:35 +08:00
test configs are loadable
Summary: Add test that the yaml files deserialize. Reviewed By: davnov134 Differential Revision: D36830673 fbshipit-source-id: b785d8db97b676686036760bfa2dd3fa638bda57
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c0f88e04a0
commit
023a2369ae
@@ -708,9 +708,8 @@ class ExperimentConfig(Configurable):
|
||||
|
||||
expand_args_fields(ExperimentConfig)
|
||||
|
||||
if __name__ == "__main__":
|
||||
cs = hydra.core.config_store.ConfigStore.instance()
|
||||
cs.store(name="default_config", node=ExperimentConfig)
|
||||
cs = hydra.core.config_store.ConfigStore.instance()
|
||||
cs.store(name="default_config", node=ExperimentConfig)
|
||||
|
||||
|
||||
@hydra.main(config_path="./configs/", config_name="default_config")
|
||||
|
||||
Reference in New Issue
Block a user