Chaerin5 commited on
Commit
497cfc8
·
1 Parent(s): 6a078f3

enable zerogpu

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -340,7 +340,7 @@ def get_ref_anno(ref):
340
  )
341
  image = image_transform(img)
342
  image = image.numpy()
343
- image = torch.tensor(image)
344
  kpts_valid = check_keypoints_validity(keypts, opts.image_size)
345
  heatmaps = torch.tensor(
346
  keypoint_heatmap(
 
340
  )
341
  image = image_transform(img)
342
  image = image.numpy()
343
+ # image = torch.tensor(image)
344
  kpts_valid = check_keypoints_validity(keypts, opts.image_size)
345
  heatmaps = torch.tensor(
346
  keypoint_heatmap(