Skip to content

Commit fec2ec7

Browse files
authored
Fixed missing parenthesis
1 parent 1a7d816 commit fec2ec7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __call__(self, image):
2929
self.images.append(image)
3030
self.num_img=self.num_img+1
3131
return image
32-
if np.random.rand > 0.5:
32+
if np.random.rand() > 0.5:
3333
idx = int(np.random.rand()*self.maxsize)
3434
tmp = copy.copy(self.images[idx])
3535
self.images[idx] = image

0 commit comments

Comments
 (0)