From e807558cd81afc02ce7dc90057415ddd3cee16a3 Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Sun, 15 Mar 2026 13:50:46 +0100 Subject: [PATCH] fix(infra): remove --initial-capital from train-best step train_baseline_rl doesn't accept --initial-capital (only hyperopt and evaluate binaries do). Removing it fixes the exit code 2 in DQN hyperopt v3 train-best step. Co-Authored-By: Claude Opus 4.6 --- infra/k8s/argo/compile-and-train-template.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/infra/k8s/argo/compile-and-train-template.yaml b/infra/k8s/argo/compile-and-train-template.yaml index d29b7800e..f2d893e92 100644 --- a/infra/k8s/argo/compile-and-train-template.yaml +++ b/infra/k8s/argo/compile-and-train-template.yaml @@ -478,8 +478,7 @@ spec: --trades-data-dir {{workflow.parameters.trades-data-dir}} \ --output-dir /workspace/output \ --max-steps-per-epoch {{workflow.parameters.train-epochs}} \ - $HYPEROPT_FLAG \ - --initial-capital {{workflow.parameters.initial-capital}} + $HYPEROPT_FLAG echo "=== Training complete ===" resources: