MVIG-SJTU / AlphaPose

Real-Time and Accurate Full-Body Multi-Person Pose Estimation&Tracking System
http://mvig.org/research/alphapose.html
Other
8.06k stars 1.98k forks source link

测试SMPL + tracking报错 #1086

Closed humorbei closed 2 years ago

humorbei commented 2 years ago

你好,执行python demo_inference.py --cfg configs/smpl/256x192_adam_lr1e-3-res34_smpl_24_3d_base_2x_mix.yaml --checkpoint pretrained_models/pretrained_w_cam.pth --webcam=0 --save_video --vis --pose_flow 报以下错误: Traceback (most recent call last): File "demo_inference.py", line 170, in det_loader = WebCamDetectionLoader(input_source, get_detector(args), cfg, args) File "/tmp/alphapose/utils/webcam_detector.py", line 60, in init train=False, add_dpg=False, gpu_device=self.device, AttributeError: 'WebCamDetectionLoader' object has no attribute 'device'

alessmolt commented 1 year ago

how did you solved the issue? did you just hardcoded 'cuda'?

hyf-5979 commented 10 months ago

您好!请问您后续是如何解决的呢?