Closed garrisonz closed 1 year ago
The error is disappear, when I set the path in Windows path format
C.update_conf({"smplx_models": 'C:/Users/zyp/w/code/smplx/models'})
To clarify what happened: When we create the SMPL layer, we just forward it to the smplx.create
function. This function checks whether the configuration parameter C.smplx_models
is a directory or not. In your case, os.path.isdir
returned False
, which lead to this error. Are you on Windows? In that case the ~
character might have caused this because this character has no special meaning on Windows, so this path indeed does not exist.
quickstart code
but return a error
fyi, the tree output of
~/w/code/smplx/models