You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "expose-master/demo.py", line 578, in
rcnn_batch=rcnn_batch,
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "/expose-master/demo.py", line 245, in main
model = SMPLXNet(exp_cfg)
File "expose-master/expose/models/smplx_net.py", line 39, in init
self.smplx = build_attention_head(exp_cfg)
File "expose-master/expose/models/attention/build.py", line 23, in build_attention_head
return SMPLXHead(cfg)
File "expose-master/expose/models/attention/predictor.py", line 251, in init
**body_model_cfg)
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 2342, in build_layer
return SMPLXLayer(model_path, **kwargs)
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 1310, in init
*args, **kwargs,
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 991, in init
**kwargs)
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 596, in init
use_compressed=use_compressed, dtype=dtype, ext=ext, **kwargs)
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 206, in init
global_orient, dtype=dtype)
TypeError: must be real number, not CfgNode
when init the class SMPLXLayer and adding more features - changing
False to True
class SMPLXLayer(SMPLX):
def init(
self,
*args,
**kwargs
) -> None:
i am getting that error
Traceback (most recent call last):
File "expose-master/demo.py", line 578, in
rcnn_batch=rcnn_batch,
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "/expose-master/demo.py", line 245, in main
model = SMPLXNet(exp_cfg)
File "expose-master/expose/models/smplx_net.py", line 39, in init
self.smplx = build_attention_head(exp_cfg)
File "expose-master/expose/models/attention/build.py", line 23, in build_attention_head
return SMPLXHead(cfg)
File "expose-master/expose/models/attention/predictor.py", line 251, in init
**body_model_cfg)
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 2342, in build_layer
return SMPLXLayer(model_path, **kwargs)
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 1310, in init
*args, **kwargs,
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 991, in init
**kwargs)
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 596, in init
use_compressed=use_compressed, dtype=dtype, ext=ext, **kwargs)
File "/home/anaconda3/envs/temp/lib/python3.7/site-packages/smplx/body_models.py", line 206, in init
global_orient, dtype=dtype)
TypeError: must be real number, not CfgNode
Process finished with exit code 1
the error happen during execute :
default_global_orient = torch.tensor(
global_orient, dtype=dtype)
global_orient value is : CfgNode({'param_type': 'cont_rot_repr'})
the same is relevant for the rest of the features (create_body_pose,create_left_hand_pose..)
thank you
The text was updated successfully, but these errors were encountered: