Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 26, 2024
1 parent ba1776e commit dd02dd3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions tiatoolbox/models/engine/semantic_segmentor.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,11 +564,9 @@ def __init__(
self.masks = None

self.dataset_class: WSIStreamDataset = dataset_class
self.model = (
compile_model(
model,
mode=rcParam["torch_compile_mode"],
)
self.model = compile_model(
model,
mode=rcParam["torch_compile_mode"],
)
self.pretrained_model = pretrained_model
self.batch_size = batch_size
Expand Down

0 comments on commit dd02dd3

Please sign in to comment.