mouseland commited on
Commit
16f935e
·
verified ·
1 Parent(s): 423e8f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -149,8 +149,10 @@ def run_model_gpu1000(img):
149
  #@spaces.GPU(duration=10)
150
  def cellpose_segment(img_pil, resize = 1000):
151
  img_input = imread(img_pil)
 
152
  #img_input = np.array(img_pil)
153
  img = image_resize(img_input, resize = resize)
 
154
 
155
  resize = np.max(img.shape)
156
  if resize<1000:
 
149
  #@spaces.GPU(duration=10)
150
  def cellpose_segment(img_pil, resize = 1000):
151
  img_input = imread(img_pil)
152
+ print(img_input.shape)
153
  #img_input = np.array(img_pil)
154
  img = image_resize(img_input, resize = resize)
155
+ print(img.shape)
156
 
157
  resize = np.max(img.shape)
158
  if resize<1000: