Skip to content

Commit cb24f9a

Browse files
author
The TensorFlow Datasets Authors
committed
Internal
PiperOrigin-RevId: 664745556
1 parent 17e28ea commit cb24f9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tensorflow_datasets/image_classification/corruptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,9 +589,9 @@ def snow(x, severity=1):
589589

590590
subprocess.check_output([
591591
convert_bin,
592+
im_input.name,
592593
'-motion-blur',
593594
'{}x{}+{}'.format(radius, sigma, angle),
594-
im_input.name,
595595
im_output.name,
596596
])
597597

@@ -637,9 +637,9 @@ def motion_blur(x, severity=1):
637637

638638
subprocess.check_output([
639639
convert_bin,
640+
im_input.name,
640641
'-motion-blur',
641642
'{}x{}+{}'.format(radius, sigma, angle),
642-
im_input.name,
643643
im_output.name,
644644
])
645645

0 commit comments

Comments
 (0)