Module
setup
General configuration setup
Info:
- edit Alexis BRENON alexis.brenon@imag.fr
Public Methods
keyboard_arrow_up-
setup ( opt )
Initialize configuration.
Parameters:-
table
opt
Parsed command line arguments
- experiment.BaseExperiment The loaded experiment, ready to run
-
table
The updated
opt
table
-
table
Private Methods
keyboard_arrow_up-
_agent_setup ( args, environments )
Setup an agent.
Parameters: Returns:- agent.BaseAgent Instanciated agent
-
_environment_setup ( args )
Setup training and testing environments.
Parameters:-
table
args
Environments arguments
-
table
test
andtrain
environments
-
table
-
_experiment_setup ( args, agent, environments )
Setup an experiment.
Parameters:-
table
args
Experiment arguments -
agent.BaseAgent
agent
Agent used for experiment -
table
environments
Environments used for experiment
- experiment.BaseExperiment Instanciated experiment
-
table
-
_get_class ( class_path, base )
-
_torchSetup ( [opt={}] )
Initialize Torch dependant configuration.
The passed parameter
Parameters:opt
is updated to reflect the actual values that Torch returned after trying to configure it.