We provide an overview of the important files and their relationships.
-
Training:
train.py
is the main file during training. It will run every epoch, save network parameters. It will call other files one by one that are used for training.-
Before training:
- Load optimizer network congifuration:
util.py
. Thetrain.py
will callutil.py
in order to red optimizer net configuration. - Load optimizee problem:
util.py
->problems.py
. Thetrain.py
will callutil.py
, which will callproblems.py
in order to load the optimizee problems used for training. - Load optimizer network:
meta.py
. Thetrain.py
will use the optimizer net configuration information to build an optimizer inmeta.py
. - optimizer-optimizee graph:
meta.py
. Themeta.py
will also build a complete computational graph with both optimizer and optimizee.
- Load optimizer network congifuration:
-
During training:
- run every epoch:
util.py
. This file will run every epoch during training.
- run every epoch:
- After training:
- save meta net parameters:
train.py
. This file will save the meta net parameters.
- save meta net parameters:
-
-
Evaluation:
evaluate.py
is the main file during evaluation. It will run a whole evaluation trajectory and save the trajectory. It will call other files one by one that are used for evaluation.-
Before evaluation:
- Load optimizer network congifuration:
util.py
. Theevaluate.py
will callutil.py
in order to red optimizer net configuration. - Load optimizee problem:
util.py
->problems.py
. Theevaluate.py
will callutil.py
, which will callproblems.py
in order to load the optimizee problems used for evaluation. - Load optimizer network:
meta.py
. Theevaluate.py
will use the optimizer net configuration information to build an optimizer inmeta.py
. - optimizer-optimizee graph:
meta.py
. Themeta.py
will also build a complete computational graph with both optimizer and optimizee.
- Load optimizer network congifuration:
-
During evaluation:
- run the trajectory:
util.py
. This file will run the trajectory during evaluation.
- run the trajectory:
- After evaluation:
- save the trajectory:
evaluate.py
. This file will save the trajectory.
- save the trajectory:
-