Skip to content

Commit db5d231

Browse files
committed
fix path issue -- sorry, reviewer A9 and thanks for the catch!
1 parent 82f7941 commit db5d231

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

plotting/plot_nlp_results.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# NOTE(ruipan): use these for the final version. use the abs path here for testing.
99
BATCH_DECISION_PATH = "../../batch_decisions/{model}_{arrival}.pickle"
1010
APPARATE_LATENCY_PATH = "../../apparate_latency/{model}_{dataset}_{arrival}.pickle"
11-
OPTIMAL_LATENCY_PATH = "../../optimal_latency/{model}_{dataset}_{arrival}_optimal.pickle"
11+
OPTIMAL_LATENCY_PATH = "../../optimal_latency/{model}_{dataset}_optimal.pickle"
1212
# BATCH_DECISION_PATH = "/home/ruipan/apparate-ae/data/batch_decisions/{model}_{arrival}.pickle"
1313
# APPARATE_LATENCY_PATH = "/home/ruipan/apparate-ae/data/apparate_latency/{model}_{dataset}_{arrival}.pickle"
1414
# OPTIMAL_LATENCY_PATH = "/home/ruipan/apparate-ae/data/optimal_latency/{model}_{dataset}_optimal.pickle"
@@ -78,6 +78,7 @@
7878
ax.set_axisbelow(True) # puts the grid behind the bars
7979
ax.grid(color='lightgrey', linestyle='dashed', axis="both", linewidth=0.8)
8080
plt.tight_layout()
81+
plt.show()
8182
fig.savefig(f'./nlp_results_{model.lower()}.pdf', bbox_inches='tight', dpi=500)
8283
plt.close()
8384
# %%

0 commit comments

Comments
 (0)