tomoyukun commited on
Commit
513bb83
·
verified ·
1 Parent(s): 241f8dd

Update img_size from 512 to 1024

Browse files
Files changed (1) hide show
  1. birefnet.py +1 -1
birefnet.py CHANGED
@@ -53,7 +53,7 @@ class Config(PretrainedConfig):
53
  }[self.task]
54
  ][1] # choose 0 to skip
55
  self.lr = (1e-4 if 'DIS5K' in self.task else 1e-5) * math.sqrt(self.batch_size / 4) # DIS needs high lr to converge faster. Adapt the lr linearly
56
- self.size = 512
57
  self.num_workers = max(4, self.batch_size) # will be decrease to min(it, batch_size) at the initialization of the data_loader
58
 
59
  # Backbone settings
 
53
  }[self.task]
54
  ][1] # choose 0 to skip
55
  self.lr = (1e-4 if 'DIS5K' in self.task else 1e-5) * math.sqrt(self.batch_size / 4) # DIS needs high lr to converge faster. Adapt the lr linearly
56
+ self.size = 1024
57
  self.num_workers = max(4, self.batch_size) # will be decrease to min(it, batch_size) at the initialization of the data_loader
58
 
59
  # Backbone settings