Henry Scheible commited on
Commit
315bd25
·
1 Parent(s): 3440d36

resize to (1500, 1500)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def count_barnacles(raw_input_img, progress=gr.Progress()):
70
  progress(0, desc="Resizing Image")
71
  cropped_img = raw_input_img[x:x+w, y:y+h]
72
  cropped_image_tensor = torch.transpose(torch.tensor(cropped_img).to(device), 0, 2)
73
- # resize = Resize((500, 500))
74
  input_img = cropped_image_tensor
75
  blank_img_copy = torch.transpose(input_img, 0, 2).to("cpu").detach().numpy().copy()
76
 
 
70
  progress(0, desc="Resizing Image")
71
  cropped_img = raw_input_img[x:x+w, y:y+h]
72
  cropped_image_tensor = torch.transpose(torch.tensor(cropped_img).to(device), 0, 2)
73
+ resize = Resize((1500, 1500))
74
  input_img = cropped_image_tensor
75
  blank_img_copy = torch.transpose(input_img, 0, 2).to("cpu").detach().numpy().copy()
76