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

missing parameter in config/config.yaml #2

Open
cheeseJelly opened this issue Apr 16, 2024 · 1 comment
Open

missing parameter in config/config.yaml #2

cheeseJelly opened this issue Apr 16, 2024 · 1 comment

Comments

@cheeseJelly
Copy link

When I run example rosrun tams_human_motion tams_human_motion rospack find tams_human_motion/config/config.yaml rospack find tams_human_motion/data/mediapipe/cartwheel.yaml rospack find tams_human_motion/data/mediapipe/cartwheel.txt, the following error occurs:

[path]/src/efficient-motion-reconstruction/tams_human_motion/scripts/src/configuration.py:14: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
c = yaml.load(open(filename))
point count 33
loading data file [path]//src/efficient-motion-reconstruction/tams_human_motion/data/mediapipe/backflip.txt
Traceback (most recent call last):
File "[path]//src/efficient-motion-reconstruction/tams_human_motion/scripts/tams_human_motion", line 40, in
dataset = Dataset(path=datafile, time_step=1.0 / config["recording"]["fps"])
File "/[path]/src/efficient-motion-reconstruction/tams_human_motion/scripts/src/dataset.py", line 39, in init
if config["network"]["YZswitch"]:
KeyError: 'YZswitch'

I found there are no YZswitch in config.yaml
config.yaml
Screenshot from 2024-04-16 14-10-46

But it is existed in config_metrabs.yaml
Screenshot from 2024-04-16 14-10-37

I am writing to raise awareness of this issue.
Please edit the config file. Thanks for good project!

@WanMRRusli
Copy link

I am pretty new to this. However, this seems to be a good work. The installation instruction is not quite clear to me. @cheeseJelly do you know or are you okay to share regarding the installation procedure?

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

2 participants