From 862ed2c6b2408c73ec2d78484f02e222814d491b Mon Sep 17 00:00:00 2001 From: Jah-yee <166608075+Jah-yee@users.noreply.github.com> Date: Sat, 27 Jun 2026 12:22:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20correct=20Unkown=E2=86=92Unknown=20typo?= =?UTF-8?q?=20in=20error=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix ValueError message typo in network header type validation. Issue: user-facing error message displayed when network_header_type is invalid. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e018ddd..07ce01f 100644 --- a/main.py +++ b/main.py @@ -165,7 +165,7 @@ def main(_): network_output_type=conf.network_output_type, name='target_network', trainable=False) else: - raise ValueError('Unkown network_header_type: %s' % (conf.network_header_type)) + raise ValueError('Unknown network_header_type: %s' % (conf.network_header_type)) stat = Statistic(sess, conf.t_test, conf.t_learn_start, model_dir, pred_network.var.values()) agent = TrainAgent(sess, pred_network, env, stat, conf, target_network=target_network)