mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-12-01 21:39:06 +08:00
1 parent
242a1cf4fe
commit
d325593e02
6 files changed
-12
No files matched your search
@@ -26,7 +26,6 @@ import torch
|
||||
import yaml
|
||||
|
||||
from nerfstudio.configs.method_configs import all_methods
|
||||
from nerfstudio.data.datamanagers.base_datamanager import VanillaDataManagerConfig
|
||||
from nerfstudio.engine.trainer import TrainerConfig
|
||||
from nerfstudio.pipelines.base_pipeline import Pipeline
|
||||
from nerfstudio.utils.rich_utils import CONSOLE
|
||||
@@ -100,8 +99,6 @@ def eval_setup(
|
||||
# load checkpoints from wherever they were saved
|
||||
# TODO: expose the ability to choose an arbitrary checkpoint
|
||||
config.load_dir = config.get_checkpoint_dir()
|
||||
if isinstance(config.pipeline.datamanager, VanillaDataManagerConfig):
|
||||
config.pipeline.datamanager.eval_image_indices = None
|
||||
|
||||
# setup pipeline (which includes the DataManager)
|
||||
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
||||
|
||||
Reference in new issue
Block a user