Update.
authorFrançois Fleuret <francois@fleuret.org>
Sat, 29 Jun 2024 13:24:46 +0000 (16:24 +0300)
committerFrançois Fleuret <francois@fleuret.org>
Sat, 29 Jun 2024 13:24:46 +0000 (16:24 +0300)
main.py

diff --git a/main.py b/main.py
index b88847e..5537965 100755 (executable)
--- a/main.py
+++ b/main.py
@@ -221,10 +221,10 @@ else:
 assert args.nb_train_samples % args.batch_size == 0
 assert args.nb_test_samples % args.batch_size == 0
 
-if args.problem=="sky":
-    problem=sky.Sky(height=6, width=8, nb_birds=3, nb_iterations=2, speed=2),
-elif args.problem="wireworld":
-    problem=wireworld.Wireworld(height=10, width=15, nb_iterations=4)
+if args.problem == "sky":
+    problem = (sky.Sky(height=6, width=8, nb_birds=3, nb_iterations=2, speed=2),)
+elif args.problem == "wireworld":
+    problem = wireworld.Wireworld(height=10, width=15, nb_iterations=4)
 else:
     raise ValueError