Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinefalisse committed Jun 25, 2024
1 parent 67ba898 commit c6bce4d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions Examples/changeSessionMetadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@

from utils import changeSessionMetadata

session_ids = ["a14527f5-12f5-4909-ae0d-a549d046364a",
"27894bdf-6150-4a6a-aebd-4eb607b82d3d"]
session_ids = ["0d46adef-62cb-455f-9ff3-8116717cc2fe"]

# Dictionary of metadata fields to change (see sessionMetadata.yaml).
newMetadata = {
# 'openSimModel':'LaiUhlrich2022_shoulder',
'posemodel':'hrnet',
# 'augmentermodel':'v0.3',
# 'filterfrequency':15,
# 'datasharing':'Share processed data and identified videos'
}
'openSimModel':'LaiUhlrich2022_shoulder',
'posemodel':'hrnet',
'augmentermodel':'v0.3',
'filterfrequency':15,
'datasharing':'Share processed data and identified videos',
'scalingsetup': 'upright_standing_pose'
}
changeSessionMetadata(session_ids,newMetadata)
2 changes: 1 addition & 1 deletion utilsDetector.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def runMMposeVideo(
time.sleep(0.1)

# copy /data/output to pathOutputPkl
os.system("cp /data/output_mmpose/* {pathOutputPkl}/".format(pathOutputPkl=pathOutputPkl))
os.system("cp /data/output_mmpose/* {pathOutputPkl}/".format(pathOutputPkl=pathOutputPkl))
pkl_path_tmp = os.path.join(pathOutputPkl, 'human.pkl')
os.rename(pkl_path_tmp, pklPath)

Expand Down

0 comments on commit c6bce4d

Please sign in to comment.