rolpotamias commited on
Commit
80d1fb2
·
verified ·
1 Parent(s): 3c58cf3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -73,9 +73,9 @@ def run_wilow_model(image, conf, IoU_threshold=0.5):
73
  for batch in dataloader:
74
  batch = recursive_to(batch, device)
75
 
76
- # with torch.no_grad():
77
- # out = model(batch)
78
-
79
  # multiplier = (2*batch['right']-1)
80
  # pred_cam = out['pred_cam']
81
  # pred_cam[:,1] = multiplier*pred_cam[:,1]
 
73
  for batch in dataloader:
74
  batch = recursive_to(batch, device)
75
 
76
+ with torch.no_grad():
77
+ out = model(batch)
78
+ print(out['pred_vertices'])
79
  # multiplier = (2*batch['right']-1)
80
  # pred_cam = out['pred_cam']
81
  # pred_cam[:,1] = multiplier*pred_cam[:,1]