Skip to content

Commit cfbd2af

Browse files
Merge pull request #17 from mohammadzainabbas/dev
Dev
2 parents da10cab + 0315ba1 commit cfbd2af

File tree

9 files changed

+4
-4
lines changed

9 files changed

+4
-4
lines changed

β€ŽREADME.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ You will get the following output files:
8787
The following plot shows the comparsion between training progress of `Proximal policy optimization (PPO)`, `Evolution Strategy (ES)` and `Augmented Random Search (ARS)` algorithms:
8888

8989
<p align="center">
90-
<img src="https://github.com/mohammadzainabbas/Reinforcement-Learning-CS/blob/main/results/output.jpeg?raw=true" width="500" height="300">
90+
<img src="https://github.com/mohammadzainabbas/Reinforcement-Learning-CS/blob/main/docs/output.jpeg?raw=true" width="500" height="300">
9191
</p>
9292

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

β€Žsrc/generate_results.pyβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ def read_json(path: Union[str, Path]) -> str:
8282

8383
def main() -> None:
8484
# Read the JSON files
85-
results_dir = join(Path(__file__).resolve().parents[1], "results")
86-
data_dir = join(results_dir, "data")
85+
docs_dir = join(Path(__file__).resolve().parents[1], "docs")
86+
data_dir = join(docs_dir, "data")
8787

8888
initial_system = read_json(join(data_dir, "initial_system.json"))
8989
sys_1K = read_json(join(data_dir, "sys_1K.json"))
@@ -92,7 +92,7 @@ def main() -> None:
9292
final_600M = read_json(join(data_dir, "final_600M.json"))
9393

9494
# Write the HTML file
95-
with open(join(results_dir, "index.html"), "w") as f:
95+
with open(join(docs_dir, "index.html"), "w") as f:
9696
f.write(_HTML.replace("<!-- initial_system -->", str(initial_system))
9797
.replace("<!-- sys_1K -->", str(sys_1K))
9898
.replace("<!-- sys_5M -->", str(sys_5M))

0 commit comments

Comments
Β (0)