Spaces:
Paused
Paused
Commit
·
ec4e48d
1
Parent(s):
825522e
change torch dtype
Browse files- vitpose.py +1 -1
vitpose.py
CHANGED
|
@@ -17,7 +17,7 @@ class VitPose:
|
|
| 17 |
object_detection_checkpoint="PekingU/rtdetr_r50vd_coco_o365",
|
| 18 |
pose_estimation_checkpoint="usyd-community/vitpose-plus-small",
|
| 19 |
device="cuda" if torch.cuda.is_available() else "cpu",
|
| 20 |
-
dtype=torch.
|
| 21 |
compile=True, # or True to get more speedup
|
| 22 |
)
|
| 23 |
self.output_video_path = None
|
|
|
|
| 17 |
object_detection_checkpoint="PekingU/rtdetr_r50vd_coco_o365",
|
| 18 |
pose_estimation_checkpoint="usyd-community/vitpose-plus-small",
|
| 19 |
device="cuda" if torch.cuda.is_available() else "cpu",
|
| 20 |
+
dtype=torch.float16,
|
| 21 |
compile=True, # or True to get more speedup
|
| 22 |
)
|
| 23 |
self.output_video_path = None
|