Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
AdeelH committed Dec 29, 2023
1 parent e902370 commit c29ebe1
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1060,7 +1060,9 @@ def build_model(self, model_def_path: Optional[str] = None) -> nn.Module:
num_classes=cfg.data.num_classes,
in_channels=in_channels,
save_dir=self.modules_dir,
hubconf_dir=model_def_path)
hubconf_dir=model_def_path,
is_ddp_process=self.is_ddp_process,
is_ddp_master=self.is_ddp_master)
return model

def setup_data(self):
Expand Down

0 comments on commit c29ebe1

Please sign in to comment.