Spaces:
Running
Running
yizhangliu
commited on
Commit
•
290938b
1
Parent(s):
3ae9189
Update app.py
Browse files
app.py
CHANGED
@@ -224,7 +224,7 @@ def predict(dict):
|
|
224 |
|
225 |
image = dict["image"] # .convert("RGB") #.resize((512, 512))
|
226 |
# target_size = (init_image.shape[0], init_image.shape[1])
|
227 |
-
print(f'liuyz_1_', image.
|
228 |
print(f'liuyz_2_', image.convert("RGB").shape)
|
229 |
print(f'liuyz_3_', image.convert("RGB").resize((512, 512)).shape)
|
230 |
# mask = dict["mask"] # .convert("RGB") #.resize((512, 512))
|
|
|
224 |
|
225 |
image = dict["image"] # .convert("RGB") #.resize((512, 512))
|
226 |
# target_size = (init_image.shape[0], init_image.shape[1])
|
227 |
+
print(f'liuyz_1_', image.shape)
|
228 |
print(f'liuyz_2_', image.convert("RGB").shape)
|
229 |
print(f'liuyz_3_', image.convert("RGB").resize((512, 512)).shape)
|
230 |
# mask = dict["mask"] # .convert("RGB") #.resize((512, 512))
|