ad12 / meddlr

A flexible ML framework built to simplify medical image reconstruction and analysis experimentation.
Apache License 2.0
60 stars 13 forks source link

Config supports nested string formatting #100

Closed ad12 closed 1 year ago

ad12 commented 1 year ago

Format strings that are nested in lists

# load SOLVER.MAX_ITER as a tag
cfg.DESCRIPTION.TAGS = ["tag1", f"{cfg.SOLVER.MAX_ITER}"]

Changes:

What doesnt work: