Chaerin5 commited on
Commit
3a6a539
·
1 Parent(s): 4395911

enable zerogpu

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