Hi all,
I tried to update my recordings to the new marker augmenter model 0.3.
For this I followed the steps on this video: https://www.youtube.com/watch?v=Mk3KPo79_eQ
However in the first step (changeSessionMetadata.py) it already fails.
Output:
Could not find openSimModel in existing metadata, trying to add it.
Added LaiUhlrich2022_shoulder to settings in metadata
Could not find augmentermodel in existing metadata, trying to add it.
Added v0.3 to settings in metadata
Changing metadata failed.
Any idea what could have gone wrong or how to fix it?
Many thanks in advance.
Basil
Error in changeSessionMetadata.py
- Basil Achermann
- Posts: 4
- Joined: Wed Nov 15, 2023 12:42 am
Error in changeSessionMetadata.py
- Attachments
-
- Group 1.png (52.06 KiB) Viewed 849 times
- Antoine Falisse
- Posts: 431
- Joined: Wed Jan 07, 2015 2:21 am
Re: Error in changeSessionMetadata.py
hi,
Could you try running 1. here before running the script?
https://github.com/stanfordnmbl/opencap ... popencapai
keep us posted,
Antoine
Could you try running 1. here before running the script?
https://github.com/stanfordnmbl/opencap ... popencapai
keep us posted,
Antoine
- Basil Achermann
- Posts: 4
- Joined: Wed Nov 15, 2023 12:42 am
Re: Error in changeSessionMetadata.py
Hi Antoine,
thanks for the quick reply.
You mean?
1) Authenticate and save an environment variable by running Examples/createAuthenticationEnvFile.py. You can proceed without this, but you will be required to log in every time you run a script.
I did and tried to run changeSessionMetadata.py again.
It still returns the same log in the terminal, just without asking for login credentials.
Best, Basil
thanks for the quick reply.
You mean?
1) Authenticate and save an environment variable by running Examples/createAuthenticationEnvFile.py. You can proceed without this, but you will be required to log in every time you run a script.
I did and tried to run changeSessionMetadata.py again.
It still returns the same log in the terminal, just without asking for login credentials.
Best, Basil
- Scott Uhlrich
- Posts: 124
- Joined: Tue Jan 20, 2015 4:29 pm
Re: Error in changeSessionMetadata.py
can you provide the session id so we can reproduce?
Thanks,
scott
Thanks,
scott
- Basil Achermann
- Posts: 4
- Joined: Wed Nov 15, 2023 12:42 am
Re: Error in changeSessionMetadata.py
72466198-253e-46f6-8ec5-384e14bc1df6
Thanks!
Thanks!
- Scott Uhlrich
- Posts: 124
- Joined: Tue Jan 20, 2015 4:29 pm
Re: Error in changeSessionMetadata.py
It worked fine for me. Have you pulled the latest version of the code from github?
- Basil Achermann
- Posts: 4
- Joined: Wed Nov 15, 2023 12:42 am
Re: Error in changeSessionMetadata.py
Hi all
Thank you very much! I had to setup my conda environment again.
changeSessionMetadata.py works fine now.
Also reprocessSessions.py looks but except for the inverse kinematics.
There I get "tuple index out of range"
OpenSimData -> Kinematics results in an empty folder.
Thank you very much! I had to setup my conda environment again.
changeSessionMetadata.py works fine now.
Also reprocessSessions.py looks but except for the inverse kinematics.
There I get "tuple index out of range"
OpenSimData -> Kinematics results in an empty folder.
- Attachments
-
- Group 1.png (104.85 KiB) Viewed 765 times
- Scott Uhlrich
- Posts: 124
- Joined: Tue Jan 20, 2015 4:29 pm
Re: Error in changeSessionMetadata.py
Try dropping breakpoints in the main.py function prior to inverse kinematics to see what is happening.