From: François Fleuret Date: Sat, 29 Jun 2024 13:24:46 +0000 (+0300) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=525bd24014786b53638dea78cfb88035a2b99d97;p=culture.git Update. --- diff --git a/main.py b/main.py index b88847e..5537965 100755 --- 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