Skip to content

Commit 92cf0d3

Browse files
ivanbasovclaude
andauthored
fix: remove sdr_as_percent kwarg from compute_syndrome_density() call (#30)
compute_syndrome_density() does not accept sdr_as_percent — the flag is only used downstream in train.py for display formatting (the SDR unit shown as "%" vs "x"). Passing it caused a TypeError that aborted the orientation-inference long-running CI job after a full training epoch. Fixes: TypeError: compute_syndrome_density() got an unexpected keyword argument 'sdr_as_percent' Signed-off-by: Ivan Basov <ibasov@nvidia.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 97d7d35 commit 92cf0d3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

code/training/train.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1425,7 +1425,6 @@ def _print_gen(name, g):
14251425
cfg=cfg,
14261426
generator=val_generator,
14271427
rank=dist.rank,
1428-
sdr_as_percent=sdr_as_percent,
14291428
)
14301429
sdr_s = time.perf_counter() - t_sdr_start
14311430
# If multi-pair dict, reduce to a single scalar for logging (average over pairs).

0 commit comments

Comments
 (0)