Asthestarsfalll / ExCore

A Modern Configuration/Registry System designed for deeplearning, with some utils.
https://excore.onism.space/
MIT License
13 stars 0 forks source link

Support config style like yolo #34

Open Asthestarsfalll opened 6 months ago

Asthestarsfalll commented 6 months ago

More detailed config for a module. Requiring ExCore to support multiple same modules parsing, this will be a hard job.

Asthestarsfalll commented 1 month ago

Some ideas

The key of yolo style config is to pass some parameters between two adjacent nodes. And the Lazy style of excore config nodes is naturally suit for this task. So

  1. Construct a graph (not necessary but must to get the adjacent nodes)

  2. Determine the correspondence of parameters

  3. Automatically detect the missing parameters, and obtain the corredspondence of parameters if only one parameter missing. Otherwise correspondence should provided by user through two ways:

    1. Reprecented by config directly.
    2. Fixed when register, using extra_fields
  4. Maybe hook can bu used.

The format of config need to be considered more carefully.