ledmands
commited on
Commit
•
7a9dcf1
1
Parent(s):
4905fa3
Modified evaluate_agent.py slightly.
Browse files- agents/dqn_v2-8/evals.txt +24 -0
- evaluate_agent.py +0 -2
agents/dqn_v2-8/evals.txt
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
-----
|
2 |
+
Evaluation of agents/dqn_v2-8/ALE-Pacman-v5 on 17 May 2024 at 10:23:04 PM
|
3 |
+
Episodes evaluated: 1
|
4 |
+
mean_rwd: 317.0
|
5 |
+
std_rwd: 0.0
|
6 |
+
|
7 |
+
-----
|
8 |
+
Evaluation of agents/dqn_v2-8/ALE-Pacman-v5 on 17 May 2024 at 10:26:18 PM
|
9 |
+
Episodes evaluated: 1
|
10 |
+
mean_rwd: 276.0
|
11 |
+
std_rwd: 0.0
|
12 |
+
|
13 |
+
-----
|
14 |
+
Evaluation of agents/dqn_v2-8/best_model on 17 May 2024 at 10:27:47 PM
|
15 |
+
Episodes evaluated: 1
|
16 |
+
mean_rwd: 416.0
|
17 |
+
std_rwd: 0.0
|
18 |
+
|
19 |
+
-----
|
20 |
+
Evaluation of agents/dqn_v2-8/best_model on 17 May 2024 at 10:29:20 PM
|
21 |
+
Episodes evaluated: 10
|
22 |
+
mean_rwd: 455.6
|
23 |
+
std_rwd: 40.10037406309323
|
24 |
+
|
evaluate_agent.py
CHANGED
@@ -42,8 +42,6 @@ dirs = model_name.split("/")
|
|
42 |
# remove the last item, as it is the zip file
|
43 |
dirs.pop()
|
44 |
model_dir = "/".join(dirs)
|
45 |
-
print(type(model_dir))
|
46 |
-
print(model_dir)
|
47 |
|
48 |
# Retrieve the environment
|
49 |
eval_env = Monitor(gym.make("ALE/Pacman-v5",
|
|
|
42 |
# remove the last item, as it is the zip file
|
43 |
dirs.pop()
|
44 |
model_dir = "/".join(dirs)
|
|
|
|
|
45 |
|
46 |
# Retrieve the environment
|
47 |
eval_env = Monitor(gym.make("ALE/Pacman-v5",
|