Spaces:
Running
on
Zero
Running
on
Zero
debug in app.py
Browse files
app.py
CHANGED
@@ -188,6 +188,7 @@ def inference_and_return_video(dilation_iterations, num_inference_steps, video_s
|
|
188 |
|
189 |
images = np.array(images)
|
190 |
masks = np.array(masks)
|
|
|
191 |
img_tensor, mask_tensor = preprocess_for_removal(images, masks)
|
192 |
mask_tensor = mask_tensor[:,:,:,:1]
|
193 |
|
|
|
188 |
|
189 |
images = np.array(images)
|
190 |
masks = np.array(masks)
|
191 |
+
print(f"line 191 images shape:{images.shape},masks shape:{masks.shape}")
|
192 |
img_tensor, mask_tensor = preprocess_for_removal(images, masks)
|
193 |
mask_tensor = mask_tensor[:,:,:,:1]
|
194 |
|