Spaces:
Running
Running
yizhangliu
commited on
Commit
•
65d6992
1
Parent(s):
039e64f
Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ def model_process(input):
|
|
186 |
print(f"Origin image shape: {original_shape} / {image[250][250]}")
|
187 |
image = resize_max_size(image, size_limit=size_limit, interpolation=interpolation)
|
188 |
# logger.info(f"Resized image shape: {image.shape}")
|
189 |
-
print(f"Resized image shape: {image.shape} / {image[250][250]} / {
|
190 |
|
191 |
# mask, _ = load_img(mask, gray=True)
|
192 |
mask = np.array(mask_pil)
|
|
|
186 |
print(f"Origin image shape: {original_shape} / {image[250][250]}")
|
187 |
image = resize_max_size(image, size_limit=size_limit, interpolation=interpolation)
|
188 |
# logger.info(f"Resized image shape: {image.shape}")
|
189 |
+
print(f"Resized image shape: {image.shape} / {image[250][250]} / {image.dtype}")
|
190 |
|
191 |
# mask, _ = load_img(mask, gray=True)
|
192 |
mask = np.array(mask_pil)
|