marrlab / DomainLab

modular domain generalization: https://pypi.org/project/domainlab/

Home Page:https://marrlab.github.io/DomainLab/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sample hyperparamers python code generate redundant output directory without date information

smilesun opened this issue · comments

before scheduling done,
image

when the rule sample hyperaparameter get done, the code starting here

# create a txt file with the commit information

    # create a txt file with the commit information
    with open(
        config["output_dir"] + os.sep + "commit.txt", "w", encoding="utf8"
    ) as file:
        file.writelines("use git log |grep \n")
        file.writelines("consider remove leading b in the line below \n")
        file.write(get_git_tag())
    with open(
        config["output_dir"] + os.sep + "config.txt", "w", encoding="utf8"
    ) as file:
        json.dump(config, file)

    samples.to_csv(dest)
    return samples

will create a redundant output directory but without any date information, how the date is ignored here?