Skip to content

Commit

Permalink
Update tiny_vit_sam.py
Browse files Browse the repository at this point in the history
print
  • Loading branch information
dongshenhan authored Jun 30, 2023
1 parent 7212d81 commit 6e54b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mobile_sam/modeling/tiny_vit_sam.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def set_layer_lr_decay(self, layer_lr_decay):
# layers -> blocks (depth)
depth = sum(self.depths)
lr_scales = [decay_rate ** (depth - i - 1) for i in range(depth)]
#print("LR SCALES:", lr_scales)
print("LR SCALES:", lr_scales)

def _set_lr_scale(m, scale):
for p in m.parameters():
Expand Down

0 comments on commit 6e54b7b

Please sign in to comment.