Skip to content

Commit

Permalink
update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jotix16 committed Mar 26, 2024
1 parent fa80bfe commit 24c57de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions scripts/run_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
for seed in range(10):
os.system(f"python3 {p} --experiment {exp} --seed {seed}")
if exp in exps[:2]:
os.system("python3 " + str(os.path.join(HITCHHIKING_ROOT_DIR, "visu", "figure_19.py", exp)))
os.system("python3 " + str(os.path.join(HITCHHIKING_ROOT_DIR, "visu", "figure_12a.py", exp)))
os.system("python3 " + str(os.path.join(HITCHHIKING_ROOT_DIR, "visu", "figure_19.py ")+ exp))
os.system("python3 " + str(os.path.join(HITCHHIKING_ROOT_DIR, "visu", "figure_12a.py ") + exp))
else:
os.system("python3 " + str(os.path.join(HITCHHIKING_ROOT_DIR, "visu", "figure_12b.py")))
12 changes: 6 additions & 6 deletions visu/figure_12a.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
df = pd.DataFrame.from_dict(df_res)

mapping = {
"r9_svd": RotRep.SVD,
"r6_gso": RotRep.GSO,
"quat_c": RotRep.QUAT_C,
"rotvec": RotRep.EXP,
"euler": RotRep.EULER,
"r9_svd": str(RotRep.SVD) + "-Chordal",
"r6_gso": str(RotRep.GSO) + "-Chordal",
"quat_c": str(RotRep.QUAT_C) + "-Chordal",
"rotvec": str(RotRep.EXP) + "-Chordal",
"euler": str(RotRep.EULER) + "-Chordal",
}

for k, v in mapping.items():
Expand All @@ -73,7 +73,7 @@
fliersize=2.5,
showfliers=True,
)
plt.xlabel("Error - Geodesic Distance")
plt.xlabel("Error - Geodesic")
plt.ylabel("")
plt.tight_layout()

Expand Down

0 comments on commit 24c57de

Please sign in to comment.