MohmedAnik commited on
Commit
7707fd8
·
verified ·
1 Parent(s): 5567687

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +1 -1
utils.py CHANGED
@@ -97,7 +97,7 @@ def background_preprocess(input_image, do_remove_background):
97
  return input_image
98
 
99
  def remove_outliers_and_average(tensor, threshold=1.5):
100
- assert tensor.dim() == 1,
101
 
102
  q1 = torch.quantile(tensor, 0.25)
103
  q3 = torch.quantile(tensor, 0.75)
 
97
  return input_image
98
 
99
  def remove_outliers_and_average(tensor, threshold=1.5):
100
+ assert tensor.dim() == 1
101
 
102
  q1 = torch.quantile(tensor, 0.25)
103
  q3 = torch.quantile(tensor, 0.75)