When I run python3 summarize.py
Youngest23 opened this issue · comments
When I run python3 summarize.py
The error is "No such file or directory: '/optimal-leo-placement/placement-distances/st1-0.csv'"
what code should i run to generate the csv file?
Please follow the steps in the README:
python3 shells.py
python3 distances.py
- then
python3 summarize.py
I followed the steps in the README.
In summarize.py line 21, "results_file = os.path.join(config.PLACEMENT_DISTANCES_DIR, "{}-{}.csv".format(name, next_step))"
It needs {}-{}.csv , it didn't generate before in shells.py or distances.py
I also have this problem
Now I see what the issue was, I accidentally deleted placement-distances.py
in an old commit. I have no restored it and updated the README again. Please see if you can run everything now with the new instructions in the README
Thank you for your commit,but there is a problem. "PLACEMENT_DISTANCES_DIR" appears three times,so in summarize.py line 21, "results_file = os.path.join(config.PLACEMENT_DISTANCES_DIR, "{}-{}.csv".format(name, next_step))"
I see, I've updated the output directory of placement-distances.py
That's a box plot, you can read more about the components here: https://chartio.com/learn/charts/box-plot-complete-guide/
df["SLO"] = df["type"].astype(str) + "-" + df["d"].astype(str)
KeyError: 'd'