Skip to content

OmegaConf Structured Configuration Error in SHAPY #63

@patelkunjanp

Description

@patelkunjanp

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions