Skip to content

Commit c79b74e

Browse files
committed
Fix the type of the value returned by the main method.
1 parent add54e2 commit c79b74e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labs/11/vae.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def generate(self, epoch: int, logs: dict[str, float]) -> None:
127127
self.get_tb_writer("train").add_image("images", grid, epoch)
128128

129129

130-
def main(args: argparse.Namespace) -> dict[str, float]:
130+
def main(args: argparse.Namespace) -> float:
131131
# Set the random seed and the number of threads.
132132
npfl138.startup(args.seed, args.threads)
133133
npfl138.global_keras_initializers()

0 commit comments

Comments
 (0)