Skip to content

Commit

Permalink
fix: Remove Optional from type
Browse files Browse the repository at this point in the history
  • Loading branch information
AlessandroPolidori committed Dec 20, 2023
1 parent e4636ad commit 816376e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anomalib/models/efficient_ad/torch_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def __init__(
model_size: EfficientAdModelSize = EfficientAdModelSize.S,
padding: bool = False,
pad_maps: bool = True,
pre_padding: Optional[bool] = False,
pre_padding: bool = False,
pretrained_teacher_type: Literal["anomalib", "nelson"] = "nelson",
) -> None:
super().__init__()
Expand Down

0 comments on commit 816376e

Please sign in to comment.