mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-22 15:20:34 +08:00
remove get_task
Summary: Remove the dataset's need to provide the task type. Reviewed By: davnov134, kjchalup Differential Revision: D38314000 fbshipit-source-id: 3805d885b5d4528abdc78c0da03247edb9abf3f7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
37250a4326
commit
f8bf528043
@@ -206,7 +206,6 @@ class Experiment(Configurable): # pyre-ignore: 13
|
||||
val_loader,
|
||||
) = accelerator.prepare(model, optimizer, train_loader, val_loader)
|
||||
|
||||
task = self.data_source.get_task()
|
||||
all_train_cameras = self.data_source.all_train_cameras
|
||||
|
||||
# Enter the main training loop.
|
||||
@@ -223,7 +222,6 @@ class Experiment(Configurable): # pyre-ignore: 13
|
||||
exp_dir=self.exp_dir,
|
||||
stats=stats,
|
||||
seed=self.seed,
|
||||
task=task,
|
||||
)
|
||||
|
||||
def _check_config_consistent(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user