We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e7ee25 commit 4e73a5fCopy full SHA for 4e73a5f
connectomics/data/augmentation/test_augmentor.py
@@ -55,7 +55,7 @@ def __init__(self,
55
self.scale_factors = scale_factors
56
self.inference_act = inference_act
57
58
- if num_aug is not None or num_aug != 0:
+ if num_aug is not None and num_aug != 0:
59
assert num_aug in [4, 8, 16], \
60
"TestAugmentor.num_aug should be either 4, 8 or 16!"
61
if self.do_2d: # max num_aug for 2d images
0 commit comments