Spaces:
Running
on
Zero
Running
on
Zero
enable zerogpu
Browse files
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(
|