Can't run the sample. What am I missing?
gabriel-wainmann opened this issue · 3 comments
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
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?
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.
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