google / google/gin-config

Instead of files, programmatically create gin config

Open
#20 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.2k
Forks
122
Avg merge
5d 10h
Merged PRs (30d)
2

Description

In my use cases, I rarely set hyper parameters by hand. Instead I have an external logic that generates them (e.g. random search). Now, using gin it seems I would have to create config files programmatically, e.g. through templates.

That feels "wrong", even though I could go that route: have a process that creates config files from templates (which would be programmatically generated by inspecting the respective module using gin), then start the processes in a second go.

Nevertheless, I was wondering if I am missing an obvious path to get the same out of it. Soemthing like setting the configuration through pure python, instead of going through gin's own format, would do the job.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.