Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -66,6 +66,9 @@ def inference_mask1(
|
|
| 66 |
query_img = query_img.unsqueeze(0)
|
| 67 |
support_img = torch.stack(support_imgs, dim=0).unsqueeze(0)
|
| 68 |
support_masks = torch.stack(support_masks, dim=0).unsqueeze(0)
|
|
|
|
|
|
|
|
|
|
| 69 |
batch = {
|
| 70 |
"support_masks": support_masks,
|
| 71 |
"support_imgs": support_img,
|
|
|
|
| 66 |
query_img = query_img.unsqueeze(0)
|
| 67 |
support_img = torch.stack(support_imgs, dim=0).unsqueeze(0)
|
| 68 |
support_masks = torch.stack(support_masks, dim=0).unsqueeze(0)
|
| 69 |
+
print("query_img:", query_img.size())
|
| 70 |
+
print("support_img:", support_img.size())
|
| 71 |
+
print("support_masks:", support_masks.size())
|
| 72 |
batch = {
|
| 73 |
"support_masks": support_masks,
|
| 74 |
"support_imgs": support_img,
|