Spaces:
Build error
Build error
Update test.py
Browse files
test.py
CHANGED
|
@@ -393,11 +393,11 @@ def train_pong():
|
|
| 393 |
|
| 394 |
if __name__ == "__main__":
|
| 395 |
# Train CartPole
|
| 396 |
-
cartpole_policy, cartpole_train_rewards, cartpole_eval_rewards = train_cartpole()
|
| 397 |
|
| 398 |
# Train Pong (this will take longer)
|
| 399 |
-
print("\n\nNote: Pong training will take significantly longer (may take hours)")
|
| 400 |
-
print("You may want to reduce num_episodes if just testing the code.\n")
|
| 401 |
|
| 402 |
# Uncomment the line below to train Pong
|
| 403 |
-
|
|
|
|
| 393 |
|
| 394 |
if __name__ == "__main__":
|
| 395 |
# Train CartPole
|
| 396 |
+
#cartpole_policy, cartpole_train_rewards, cartpole_eval_rewards = train_cartpole()
|
| 397 |
|
| 398 |
# Train Pong (this will take longer)
|
| 399 |
+
#print("\n\nNote: Pong training will take significantly longer (may take hours)")
|
| 400 |
+
#print("You may want to reduce num_episodes if just testing the code.\n")
|
| 401 |
|
| 402 |
# Uncomment the line below to train Pong
|
| 403 |
+
pong_policy, pong_train_rewards, pong_eval_rewards = train_pong()
|