Chaerin5 commited on
Commit
a366fc8
·
1 Parent(s): a4e93b7

enable zerogpu

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -341,7 +341,7 @@ def get_ref_anno(ref):
341
  Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5], inplace=True),
342
  ]
343
  )
344
- image = image_transform(img).to(device)
345
  kpts_valid = check_keypoints_validity(keypts, opts.image_size)
346
  heatmaps = torch.tensor(
347
  keypoint_heatmap(
 
341
  Normalize(mean=[0.5, 0.5, 0.5], std=[0.5, 0.5, 0.5], inplace=True),
342
  ]
343
  )
344
+ image = image_transform(img)
345
  kpts_valid = check_keypoints_validity(keypts, opts.image_size)
346
  heatmaps = torch.tensor(
347
  keypoint_heatmap(