Skip to content

Commit

Permalink
Update util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
anwai98 authored Jun 12, 2024
1 parent c7e21a0 commit e21006e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micro_sam/training/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def __call__(self, x, y, n_pos, n_neg, get_boxes=False, n_samples=None):


class ResizeRawTrafo:
def __init__(self, desired_shape, do_rescaling=True, padding="constant"):
def __init__(self, desired_shape, do_rescaling=False, padding="constant"):
self.desired_shape = desired_shape
self.padding = padding
self.do_rescaling = do_rescaling
Expand Down

0 comments on commit e21006e

Please sign in to comment.