We provide an overview of the important files and their relationships.
-
Training:
train.pyis 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.pywill callutil.pyin order to red optimizer net configuration. - Load optimizee problem:
util.py->problems.py. Thetrain.pywill callutil.py, which will callproblems.pyin order to load the optimizee problems used for training. - Load optimizer network:
meta.py. Thetrain.pywill use the optimizer net configuration information to build an optimizer inmeta.py. - optimizer-optimizee graph:
meta.py. Themeta.pywill 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.pyis 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.pywill callutil.pyin order to red optimizer net configuration. - Load optimizee problem:
util.py->problems.py. Theevaluate.pywill callutil.py, which will callproblems.pyin order to load the optimizee problems used for evaluation. - Load optimizer network:
meta.py. Theevaluate.pywill use the optimizer net configuration information to build an optimizer inmeta.py. - optimizer-optimizee graph:
meta.py. Themeta.pywill 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:
-