Skip to content

Commit

Permalink
default value for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexriedel1 committed Jan 10, 2025
1 parent 05a8142 commit 7ceecf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/anomalib/models/components/base/export_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class ExportMixin:
def to_torch(
self,
export_root: Path | str,
model_file_name: str,
model_file_name: str = "model",
) -> Path:
"""Export model to PyTorch format.
Expand Down Expand Up @@ -111,7 +111,7 @@ def to_torch(
def to_onnx(
self,
export_root: Path | str,
model_file_name: str,
model_file_name: str = "model",
input_size: tuple[int, int] | None = None,
) -> Path:
"""Export model to ONNX format.
Expand Down Expand Up @@ -166,7 +166,7 @@ def to_onnx(
def to_openvino(
self,
export_root: Path | str,
model_file_name: str,
model_file_name: str = "model",
input_size: tuple[int, int] | None = None,
compression_type: CompressionType | None = None,
datamodule: AnomalibDataModule | None = None,
Expand Down

0 comments on commit 7ceecf3

Please sign in to comment.