CUHKWilliam commited on
Commit
f79acf9
·
verified ·
1 Parent(s): 5e7fddb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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,