From 7504e2f84f4b05b64303d8ddc9775a37297d0350 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Mon, 11 May 2026 21:56:27 -0700 Subject: [PATCH] docs(examples): fix DHL argparse help text copy-pasted from meta-learning The --gm_op/--na_op/--fo_op flags in examples/data_hyper_cleaning/data_hyper_cleaning.py described omniglot/miniimagenet/tieredImagenet and convnet/resnet, which are meta-learning datasets and architectures unrelated to data hyper-cleaning. Reported in #24. Replace the help strings with the operator names actually accepted for each flag (Gradient Mapping / Numerical Approximation / First-Order) and point readers at boat_torch/{gm_ol,na_ol,fo_ol}/ for the authoritative list. Closes #24 Signed-off-by: SAY-5 --- .../data_hyper_cleaning/data_hyper_cleaning.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/examples/data_hyper_cleaning/data_hyper_cleaning.py b/examples/data_hyper_cleaning/data_hyper_cleaning.py index 8aaf65f..edaeb63 100644 --- a/examples/data_hyper_cleaning/data_hyper_cleaning.py +++ b/examples/data_hyper_cleaning/data_hyper_cleaning.py @@ -59,19 +59,30 @@ def main(): "--gm_op", type=str, default=None, - help="omniglot or miniimagenet or tieredImagenet", + help=( + "Comma-separated Gradient Mapping operators applied to the lower " + "level dynamical system (e.g. NGD, DI, GDA, DM, RGT). See " + "boat_torch/gm_ol/ for the full list." + ), ) parser.add_argument( "--na_op", type=str, default=None, - help="convnet for 4 convs or resnet for Residual blocks", + help=( + "Comma-separated Numerical Approximation operators used to compute " + "the hyper-gradient (e.g. CG, FD, RAD, IAD, IGA, NS, PTT, RGT, " + "FOA). See boat_torch/na_ol/ for the full list." + ), ) parser.add_argument( "--fo_op", type=str, default=None, - help="convnet for 4 convs or resnet for Residual blocks", + help=( + "First-Order operator selected for the bilevel update (e.g. MESO, " + "PGDO, VFO, VSO). See boat_torch/fo_ol/ for the full list." + ), ) args = parser.parse_args()