fix: add logging.basicConfig to trainer.py so training output is visible

The trainer used logger.info() for all output but never configured a
handler, so training ran silently with no console output.
This commit is contained in:
KoalaTrapLord committed 2026-04-05 18:10:09 +00:00
1 parent 213b9dc32d
commit 4fdddf332e
1 file changed
+6
+6
View File
@@ -562,6 +562,12 @@ def get_best_device() -> str:
# ══════════════════════════════════════════════════════════
def main():
# Ensure logger output is visible on console
logging.basicConfig(
level=logging.INFO,
format="%(message)s",
)
parser = argparse.ArgumentParser(
description="Commander AI Lab — Train Policy Network"
)