@@ -612,7 +612,7 @@ def convert_image(x, channel_axis=None, z_axis=None, do_3D=False):
612612 x_out [..., 0 ] = x
613613 x = x_out
614614 del x_out
615- transforms_logger .info (f'processing grayscale image with { x .shape [0 ], x .shape [1 ]} HW' )
615+ transforms_logger .debug (f'processing grayscale image with { x .shape [0 ], x .shape [1 ]} HW' )
616616 elif ndim == 3 :
617617 # assume 2d with channels
618618 # find dim with smaller size between first and last dims
@@ -629,7 +629,7 @@ def convert_image(x, channel_axis=None, z_axis=None, do_3D=False):
629629 x_out [..., :num_channels ] = x [..., :num_channels ]
630630 x = x_out
631631 del x_out
632- transforms_logger .info (f'processing image with { x .shape [0 ], x .shape [1 ]} HW, and { x .shape [2 ]} channels' )
632+ transforms_logger .debug (f'processing image with { x .shape [0 ], x .shape [1 ]} HW, and { x .shape [2 ]} channels' )
633633 elif ndim == 4 :
634634 # assume batch of 2d with channels
635635
@@ -642,7 +642,7 @@ def convert_image(x, channel_axis=None, z_axis=None, do_3D=False):
642642 x_out [..., :num_channels ] = x [..., :num_channels ]
643643 x = x_out
644644 del x_out
645- transforms_logger .info (f'processing image batch with { x .shape [0 ]} images, { x .shape [1 ], x .shape [2 ]} HW, and { x .shape [3 ]} channels' )
645+ transforms_logger .debug (f'processing image batch with { x .shape [0 ]} images, { x .shape [1 ], x .shape [2 ]} HW, and { x .shape [3 ]} channels' )
646646 else :
647647 # something is wrong: yell
648648 expected_shapes = "2D (H, W), 3D (H, W, C), or 4D (Z, H, W, C)"
0 commit comments