mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-15 04:13:57 +08:00
fixing eval dataloader indices issue (#196)
* added some logic for the indices when none * forgot to comment out code * fix linting * fixed typing
This commit is contained in:
1 parent
76c8c178be
commit
6cfccab336
3 files changed
+13
-3
No files matched your search
@@ -184,6 +184,7 @@ def main(
|
||||
config = compose(config_name, overrides=config_overrides)
|
||||
|
||||
config.trainer.resume_train.load_dir = checkpoint_dir
|
||||
config.data.dataloader_eval.image_indices = None
|
||||
|
||||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||
# setup graph and dataset
|
||||
|
||||
Reference in new issue
Block a user