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