nicolasbuitragob commited on
Commit
d2451ea
·
1 Parent(s): 2509846

change dtype

Browse files
Files changed (1) hide show
  1. 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.float16,
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.bfloat16,
21
  compile=True, # or True to get more speedup
22
  )
23
  self.output_video_path = None