def cleanup_wandb_args()

in src/jobs/TuneGenTopicModel.py [0:0]


def cleanup_wandb_args(config):
    def cleanup_bool(v):
        if v == "true":
            return True
        if v == "false":
            return False
        return v

    return {key: cleanup_bool(value) for (key, value) in config.items()}