Skip to content
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

Can't run the sample. What am I missing? #22

Open
gabriel-wainmann opened this issue Apr 9, 2023 · 3 comments
Open

Can't run the sample. What am I missing? #22

gabriel-wainmann opened this issue Apr 9, 2023 · 3 comments

Comments

@gabriel-wainmann
Copy link

gabriel-wainmann commented Apr 9, 2023

Hi

Running this in a Colab Notebook.
All is well until running the demo.

I get:

omegaconf.errors.ValidationError: Cannot convert 'tuple' to string: '('betas', 'global_rot', 'body_pose', 'camera')'
full_key: groups[0]
reference_type=Tuple[str]
object_type=list

@krystofjo
Copy link

Hi,
I have installed everything without problem on Ubuntu 18.04.

When running the demo, I am getting the same error.
@gabriel-wainmann did you manage to solve it, please?

@muelea
Copy link
Owner

muelea commented Apr 25, 2023

Can you post the command you're using to run the demo? The error message suggested it's related to a wrong path or keyword in your command.

@krystofjo
Copy link

I am using the one suggested in README.md:

@ubuntu:~/shapy/regressor$ python demo.py --save-vis true --save-params true --save-mesh true --split test --datasets openpose --output-folder ../samples/shapy_fit/ --exp-cfg configs/b2a_expose_hrnet_demo.yaml --exp-opts output_folder=../data/trained_models/shapy/SHAPY_A part_key=pose datasets.pose.openpose.data_folder=../samples datasets.pose.openpose.img_folder=images datasets.pose.openpose.keyp_folder=openpose datasets.batch_size=1 datasets.pose_shape_ratio=1.0

I have doublechecked everything and I am no longer getting the mentioned error after this command.
But I get an ImportError:
ImportError: cannot import name 'BodyMeasurements' from 'body_measurements' (unknown location)

I have looked in measurements.py in body_measurements package and I can see no such thing as BodyMeasurements.
Do you have an idea where could be a problem?
Thanks a lot

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

3 participants