Skip to content

Commit

Permalink
Add kwargs to weight descr of bioimageio
Browse files Browse the repository at this point in the history
  • Loading branch information
thodkatz committed Jan 20, 2025
1 parent 82b4aba commit 6e4ec16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tiktorch/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ def export(self, file_to_save: Path):
architecture=ArchitectureFromLibraryDescr(
import_from=f"{self.get_model_import_file_path()}",
callable=Identifier(f"{self.model.__class__.__name__}"),
kwargs={"in_channels": self._in_channels, "out_channels": self._out_channels},
),
pytorch_version=Version("1.1.1"),
)
Expand Down

0 comments on commit 6e4ec16

Please sign in to comment.