Skip to content

OmegaConf Structured Configuration Error in SHAPY #63

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
patelkunjanp opened this issue Mar 24, 2025 · 0 comments
Open

OmegaConf Structured Configuration Error in SHAPY #63

patelkunjanp opened this issue Mar 24, 2025 · 0 comments

Comments

@patelkunjanp
Copy link

I'm trying to run the SHAPY demo script with:

bash
python regressor/demo.py --model-folder $SMPL_MODEL_PATH --gender="neutral"
But I'm getting an assertion error in OmegaConf:

text
AssertionError: assert self.element_type is Any or isinstance(self.element_type, type)
The error occurs in network_defaults.py line 269 with conf = OmegaConf.structured(Network).

Environment details:

Python 3.8

OmegaConf (current version)

SHAPY repository cloned from GitHub

Running in WSL2 Ubuntu environment

I've already successfully run a simplified SMPL-X demo script, but the original SHAPY demo fails with this configuration error.

Has anyone encountered this issue with OmegaConf's structured configs in SHAPY? Are there known compatibility issues between certain versions of OmegaConf and

shapy_Error_Omegaconf.txt

Python 3.8?

Any solutions or workarounds would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant