Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Commit 74d366a

Browse files
committed
Formatting changes for VolSeg2DPredictor tests
1 parent 082696f commit 74d366a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/test_vol_seg_2d_predictor.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
import numpy as np
22
import pytest
33
import torch
4-
from volume_segmantics.model.operations.vol_seg_2d_predictor import \
5-
VolSeg2dPredictor
4+
from volume_segmantics.model.operations.vol_seg_2d_predictor import VolSeg2dPredictor
65

76

87
@pytest.fixture()
@@ -21,7 +20,9 @@ def test_2d_predictor_init(self, volseg_2d_predictor):
2120
@pytest.mark.gpu
2221
@pytest.mark.slow
2322
def test_predict_single_axis(self, volseg_2d_predictor, rand_int_volume):
24-
labels, probs = volseg_2d_predictor._predict_single_axis(rand_int_volume)
23+
labels, probs = volseg_2d_predictor._predict_single_axis(
24+
rand_int_volume, output_probs=False
25+
)
2526
assert isinstance(labels, np.ndarray)
2627
assert labels.dtype == np.uint8
2728
assert probs is None

0 commit comments

Comments
 (0)