Skip to content

Commit 4e73a5f

Browse files
author
donglaiw
committed
fix typo
1 parent 8e7ee25 commit 4e73a5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connectomics/data/augmentation/test_augmentor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def __init__(self,
5555
self.scale_factors = scale_factors
5656
self.inference_act = inference_act
5757

58-
if num_aug is not None or num_aug != 0:
58+
if num_aug is not None and num_aug != 0:
5959
assert num_aug in [4, 8, 16], \
6060
"TestAugmentor.num_aug should be either 4, 8 or 16!"
6161
if self.do_2d: # max num_aug for 2d images

0 commit comments

Comments
 (0)