JSON SCHEMA ReLeSO
The input file must be written to comply to the following json-schema.
BaseParser
Class parses the experiment definition and conducts the training. This class can be used to initialize the ReLeSO Framework from the command line by reading in a json representation of the RL based Shape Optimization problem which is to be solved via Reinforcement Learning. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
||
|
Agent |
|
anyOf |
||
|
||
|
Number Of Timesteps |
|
type |
integer |
|
minimum |
1 |
|
|
Number Of Episodes |
|
type |
integer |
|
minimum |
1 |
|
|
||
|
N Environments |
|
type |
integer |
|
minimum |
1 |
|
default |
1 |
|
|
Normalize Training Values |
|
type |
boolean |
|
default |
False |
|
|
Multi Env Sequential |
|
type |
boolean |
|
default |
False |
|
|
Episode Log Update |
|
type |
integer |
|
minimum |
1 |
|
default |
100 |
|
|
Export Step Log |
|
type |
boolean |
|
default |
False |
|
|
Step Log Update |
|
type |
integer |
|
minimum |
0 |
|
default |
0 |
|
|
Step Log Info |
|
type |
boolean |
|
default |
False |
|
additionalProperties |
False |
|
Verbosity
Verbosity class. Defines the settings for the different loggers used in the current experiment. This class is the only class which is copied to all children. (this happens outside of the the standard channels and will hopefully not break with multiprocessing) Please note, the parser logger only ever can have the following name
|
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Parser |
|
type |
string |
|
enum |
ERROR, WARNING, DEBUG, INFO |
|
default |
INFO |
|
|
Environment |
|
type |
string |
|
enum |
ERROR, WARNING, DEBUG, INFO |
|
default |
INFO |
|
|
Logfile Location |
|
type |
string |
|
default |
logging/ |
|
|
Console Logging |
|
type |
boolean |
|
default |
False |
|
|
Base Logger Name |
|
type |
string |
|
default |
ReLeSO |
|
|
Environment Extension |
|
type |
string |
|
default |
environment |
|
additionalProperties |
False |
|
PPOAgent
PPO agent definition. PPO definition for the stable_baselines3 implementation for this algorithm. Variable comments are taken from the stable_baselines3 documentation. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Tensorboard Log |
|
type |
string |
|
|
Policy |
|
type |
string |
|
enum |
MlpPolicy, CnnPolicy, MultiInputPolicy |
|
|
Use Custom Feature Extractor |
|
type |
string |
|
enum |
resnet18, mobilenet_v2 |
|
|
Cfe Without Linear |
|
type |
boolean |
|
default |
False |
|
|
Policy Kwargs |
|
type |
object |
|
|
Type |
|
type |
string |
|
enum |
PPO |
|
|
Learning Rate |
|
type |
number |
|
default |
0.0003 |
|
|
N Steps |
|
type |
integer |
|
default |
2048 |
|
|
Batch Size |
|
type |
integer |
|
default |
64 |
|
|
N Epochs |
|
type |
integer |
|
default |
10 |
|
|
Gamma |
|
type |
number |
|
default |
0.99 |
|
|
Gae Lambda |
|
type |
number |
|
default |
0.95 |
|
|
Clip Range |
|
type |
number |
|
default |
0.2 |
|
|
Ent Coef |
|
type |
number |
|
default |
0.0 |
|
|
Vf Coef |
|
type |
number |
|
default |
0.5 |
|
|
Seed |
|
type |
integer |
|
|
Device |
|
type |
string |
|
default |
auto |
|
additionalProperties |
False |
|
DDPGAgent
DDPG agent definition. DDPG definition for the stable_baselines3 implementation for this algorithm. Variable comments are taken from the stable_baselines3 documentation. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Tensorboard Log |
|
type |
string |
|
|
Policy |
|
type |
string |
|
enum |
MlpPolicy, CnnPolicy, MultiInputPolicy |
|
|
Use Custom Feature Extractor |
|
type |
string |
|
enum |
resnet18, mobilenet_v2 |
|
|
Cfe Without Linear |
|
type |
boolean |
|
default |
False |
|
|
Policy Kwargs |
|
type |
object |
|
|
Type |
|
type |
string |
|
enum |
DDPG |
|
|
Learning Rate |
|
type |
number |
|
default |
0.001 |
|
|
Buffer Size |
|
type |
integer |
|
default |
100000 |
|
|
Learning Starts |
|
type |
integer |
|
default |
100 |
|
|
Batch Size |
|
type |
integer |
|
default |
64 |
|
|
Tau |
|
type |
number |
|
default |
0.005 |
|
|
Gamma |
|
type |
number |
|
default |
0.99 |
|
|
Optimize Memory Usage |
|
type |
boolean |
|
default |
False |
|
|
Seed |
|
type |
integer |
|
|
Device |
|
type |
string |
|
default |
auto |
|
additionalProperties |
False |
|
SACAgent
SAC Agent definition. SAC definition for the stable_baselines3 implementation for this algorithm. Variable comments are taken from the stable_baselines3 documentation. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Tensorboard Log |
||
type |
string |
||
|
Policy |
||
type |
string |
||
enum |
MlpPolicy, CnnPolicy, MultiInputPolicy |
||
|
Use Custom Feature Extractor |
||
type |
string |
||
enum |
resnet18, mobilenet_v2 |
||
|
Cfe Without Linear |
||
type |
boolean |
||
default |
False |
||
|
Policy Kwargs |
||
type |
object |
||
|
Type |
||
type |
string |
||
enum |
SAC |
||
|
Learning Rate |
||
type |
number |
||
default |
0.001 |
||
|
Buffer Size |
||
type |
integer |
||
default |
1000000 |
||
|
Learning Starts |
||
type |
integer |
||
default |
100 |
||
|
Batch Size |
||
type |
integer |
||
default |
64 |
||
|
Tau |
||
type |
number |
||
default |
0.005 |
||
|
Gamma |
||
type |
number |
||
default |
0.99 |
||
|
Optimize Memory Usage |
||
type |
boolean |
||
default |
False |
||
|
Ent Coef |
||
default |
auto |
||
anyOf |
type |
string |
|
type |
number |
||
|
Target Update Interval |
||
type |
integer |
||
default |
1 |
||
|
Target Entropy |
||
default |
auto |
||
anyOf |
type |
string |
|
type |
number |
||
|
Use Sde |
||
type |
boolean |
||
default |
False |
||
|
Sde Sample Freq |
||
type |
integer |
||
default |
-1 |
||
|
Use Sde At Warmup |
||
type |
boolean |
||
default |
False |
||
|
Seed |
||
type |
integer |
||
|
Device |
||
type |
string |
||
default |
auto |
||
additionalProperties |
False |
||
PretrainedAgent
Pretrained agent definition. This class can be used to load pretrained agents, instead of using untrained agents. Can also be used to only validate this agent without training it further. Please see validation section for this use-case. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Tensorboard Log |
||
type |
string |
||
|
Type |
||
type |
string |
||
enum |
PPO, SAC, DDPG, A2C, DQN |
||
|
Path |
||
anyOf |
type |
string |
|
format |
file-path |
||
type |
string |
||
format |
path |
||
|
Tesorboard Run Directory |
||
anyOf |
type |
string |
|
type |
string |
||
format |
path |
||
additionalProperties |
False |
||
DQNAgent
DQN Agent definition. DQN definition for the stable_baselines3 implementation for this algorithm. Variable comments are taken from the stable_baselines3 documentation. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Tensorboard Log |
|
type |
string |
|
|
Policy |
|
type |
string |
|
enum |
MlpPolicy, CnnPolicy, MultiInputPolicy |
|
|
Use Custom Feature Extractor |
|
type |
string |
|
enum |
resnet18, mobilenet_v2 |
|
|
Cfe Without Linear |
|
type |
boolean |
|
default |
False |
|
|
Policy Kwargs |
|
type |
object |
|
|
Type |
|
type |
string |
|
enum |
DQN |
|
|
Learning Rate |
|
type |
number |
|
default |
0.0001 |
|
|
Buffer Size |
|
type |
integer |
|
default |
1000000 |
|
|
Learning Starts |
|
type |
integer |
|
default |
256 |
|
|
Batch Size |
|
type |
integer |
|
default |
32 |
|
|
Tau |
|
type |
number |
|
default |
1.0 |
|
|
Gamma |
|
type |
number |
|
default |
0.99 |
|
|
Train Freq |
|
type |
integer |
|
default |
4 |
|
|
Gradient Steps |
|
type |
integer |
|
default |
1 |
|
|
Optimize Memory Usage |
|
type |
boolean |
|
default |
False |
|
|
Target Update Interval |
|
type |
integer |
|
default |
256 |
|
|
Exploration Fraction |
|
type |
number |
|
default |
0.1 |
|
|
Exploration Initial Eps |
|
type |
number |
|
default |
1.0 |
|
|
Exploration Final Eps |
|
type |
number |
|
default |
0.05 |
|
|
Max Grad Norm |
|
type |
number |
|
default |
10 |
|
|
Seed |
|
type |
integer |
|
|
Device |
|
type |
string |
|
default |
auto |
|
additionalProperties |
False |
|
A2CAgent
A2c agent definition. A2C definition for the stable_baselines3 implementation for this algorithm. Variable comments are taken from the stable_baselines3 documentation. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Tensorboard Log |
|
type |
string |
|
|
Policy |
|
type |
string |
|
enum |
MlpPolicy, CnnPolicy, MultiInputPolicy |
|
|
Use Custom Feature Extractor |
|
type |
string |
|
enum |
resnet18, mobilenet_v2 |
|
|
Cfe Without Linear |
|
type |
boolean |
|
default |
False |
|
|
Policy Kwargs |
|
type |
object |
|
|
Type |
|
type |
string |
|
enum |
A2C |
|
|
Learning Rate |
|
type |
number |
|
default |
0.0007 |
|
|
N Steps |
|
type |
integer |
|
default |
5 |
|
|
Gamma |
|
type |
number |
|
default |
0.99 |
|
|
Gae Lambda |
|
type |
number |
|
default |
1.0 |
|
|
Ent Coef |
|
type |
number |
|
default |
0.0 |
|
|
Vf Coef |
|
type |
number |
|
default |
0.5 |
|
|
Seed |
|
type |
integer |
|
|
Device |
|
type |
string |
|
default |
auto |
|
|
Max Grad Norm |
|
type |
number |
|
default |
0.5 |
|
|
Rms Prop Eps |
|
type |
number |
|
default |
1e-05 |
|
|
Use Rms Prop |
|
type |
boolean |
|
default |
True |
|
|
Use Sde |
|
type |
boolean |
|
default |
False |
|
|
Sde Sample Freq |
|
type |
integer |
|
default |
-1 |
|
|
Normalize Advantage |
|
type |
boolean |
|
default |
False |
|
additionalProperties |
False |
|
MultiProcessing
Define multiprocessing capability of environment. Defines if the Problem should use Multiprocessing and with how many cores the solver can work. Does not force Multiprocessing for example if the solver does not support it. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Number Of Cores |
|
type |
integer |
|
minimum |
1 |
|
default |
1 |
|
additionalProperties |
False |
|
VariableLocation
Variable location class. Object of this class defines the position and movement possibilities for a single dimensions of a single control point of the geometry. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Current Position |
|
type |
number |
|
|
Min Value |
|
type |
number |
|
|
Max Value |
|
type |
number |
|
|
N Steps |
|
type |
integer |
|
minimum |
1 |
|
default |
10 |
|
|
Step |
|
type |
number |
|
additionalProperties |
False |
|
ShapeDefinition
Base of shape parameterization, also represents a simple point cloud. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Control Points |
||
type |
array |
||
items |
type |
array |
|
items |
|||
additionalProperties |
False |
||
SplineSpaceDimension
Defines a single spline space dimension of the current spline. The dimension is a dimension of the parametric spline dimension. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Name |
||
type |
string |
||
|
Number Of Points |
||
type |
integer |
||
minimum |
1 |
||
|
Degree |
||
type |
integer |
||
minimum |
1 |
||
|
Knot Vector |
||
type |
array |
||
items |
type |
number |
|
additionalProperties |
False |
||
BSplineDefinition
Definition of the BSpline implementation of the ReLeSO Toolbox. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Control Points |
||
type |
array |
||
items |
type |
array |
|
items |
|||
|
Space Dimensions |
||
type |
array |
||
items |
|||
additionalProperties |
False |
||
NURBSDefinition
Definition of a NURBS spline. Definition of the NURBS implementation of the ReLeSO Toolbox, in comparison to the B-Spline implementation only an additional weights vector is added. |
||||
type |
object |
|||
properties |
||||
|
Save Location |
|||
type |
string |
|||
format |
path |
|||
|
Logger Name |
|||
type |
string |
|||
|
Control Points |
|||
type |
array |
|||
items |
type |
array |
||
items |
||||
|
Space Dimensions |
|||
type |
array |
|||
items |
||||
|
Weights |
|||
type |
array |
|||
items |
anyOf |
type |
number |
|
additionalProperties |
False |
|||
Geometry
Definition of the Geometry. |
||||
type |
object |
|||
properties |
||||
|
Save Location |
|||
type |
string |
|||
format |
path |
|||
|
Logger Name |
|||
type |
string |
|||
|
Shape Definition |
|||
anyOf |
||||
type |
array |
|||
items |
anyOf |
|||
|
Action Based Observation |
|||
type |
boolean |
|||
default |
True |
|||
|
Discrete Actions |
|||
type |
boolean |
|||
default |
True |
|||
|
Reset With Random Action Values |
|||
type |
boolean |
|||
default |
False |
|||
additionalProperties |
False |
|||
MeshExporter
Class which defines in which format and where the mesh is exported. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Format |
||
type |
string |
||
enum |
mixd |
||
default |
mixd |
||
|
Export Path |
||
anyOf |
type |
string |
|
type |
string |
||
format |
path |
||
additionalProperties |
False |
||
MeshIOMesh
Provides an interface to load meshio meshes. Since gustaf currently only really supports .msh files, this also only supports files with this ending. If and when gustaf implements support for additional files types already supported by meshio. This will be updated. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Path |
||
anyOf |
type |
string |
|
type |
string |
||
format |
path |
||
|
|||
|
Dimensions |
||
type |
integer |
||
minimum |
1 |
||
additionalProperties |
False |
||
MixdMesh
Class used to read in the correct mixd mesh file and load it. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Path |
||
anyOf |
type |
string |
|
type |
string |
||
format |
path |
||
|
|||
|
Dimensions |
||
type |
integer |
||
minimum |
1 |
||
|
Mxyz Path |
||
Please use either the path variable xor the mxyz variable, since if used both the used mxyz path might not be the one you think. |
|||
type |
string |
||
format |
file-path |
||
|
Mien Path |
||
Please use either the path variable xor the mien variable, since if used both the used mien path might not be the one you think. |
|||
type |
string |
||
format |
file-path |
||
|
Hypercube |
||
If True Mesh is made of hypercubes. If False Mesh is made of simplexes (triangles). |
|||
type |
boolean |
||
default |
True |
||
additionalProperties |
False |
||
FFDGeometry
FFD based variable shape. |
||||
type |
object |
|||
properties |
||||
|
Save Location |
|||
type |
string |
|||
format |
path |
|||
|
Logger Name |
|||
type |
string |
|||
|
Shape Definition |
|||
anyOf |
||||
type |
array |
|||
items |
anyOf |
|||
|
Action Based Observation |
|||
type |
boolean |
|||
default |
True |
|||
|
Discrete Actions |
|||
type |
boolean |
|||
default |
True |
|||
|
Reset With Random Action Values |
|||
type |
boolean |
|||
default |
False |
|||
|
Mesh |
|||
anyOf |
||||
|
||||
additionalProperties |
False |
|||
ObservationDefinition
Definition of an Observation. Definition of a single Observations by providing the name of the value and the range in which the value is limited to. The range is necessary due to normalization of the input of the agent networks. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Name |
|
type |
string |
|
|
Value Min |
|
type |
number |
|
|
Value Max |
|
type |
number |
|
additionalProperties |
False |
|
ObservationDefinitionMulti
Define a multidimensional Observations space. Definition of a single Observations by providing the name of the value and the range in which the value is limited to. The range is necessary due to normalization of the input of the agent networks. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Name |
||
type |
string |
||
|
Value Min |
||
type |
number |
||
|
Value Max |
||
type |
number |
||
|
Observation Shape |
||
type |
array |
||
items |
type |
integer |
|
|
Value Type |
||
type |
string |
||
enum |
float, CNN |
||
additionalProperties |
False |
||
MultiProcessor
Definition of the utilized multiprocessor. Default MPIEXEC. The MultiProcessor gives access to command prefixes which can enable parallelization. Currently only tested for MPI.
|
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Command |
|
type |
string |
|
default |
mpiexec -n |
|
|
Max Core Count |
|
type |
integer |
|
minimum |
1 |
|
|
Always Use |
|
type |
boolean |
|
default |
False |
|
additionalProperties |
False |
|
MPIClusterMultiProcessor
Multi-processor extension for the cluster MPI call. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
Command |
|
type |
string |
|
default |
$MPIEXEC |
|
|
Max Core Count |
|
type |
integer |
|
minimum |
1 |
|
|
Always Use |
|
type |
boolean |
|
default |
False |
|
|
Location |
|
type |
string |
|
enum |
cluster |
|
|
Mpi Flags Variable |
|
type |
string |
|
default |
$FLAGS_MPI_BATCH |
|
additionalProperties |
False |
|
SPORObjectCommandLine
Base definition of a SPORCommandLineObject. Can be instantiated. Base class for all possible SPOR object classes which use the command line. This class is meant to add some default functionality, so that users do not need to add them themselves. These are:
|
||||
type |
object |
|||
properties |
||||
|
Save Location |
|||
type |
string |
|||
format |
path |
|||
|
Logger Name |
|||
type |
string |
|||
|
Name |
|||
type |
string |
|||
|
Stop After Error |
|||
type |
boolean |
|||
default |
True |
|||
|
Reward On Error |
|||
type |
number |
|||
|
Reward On Completion |
|||
type |
number |
|||
|
Run On Reset |
|||
type |
boolean |
|||
default |
True |
|||
|
Additional Observations |
|||
anyOf |
||||
type |
array |
|||
items |
anyOf |
|||
|
Multi Processor |
|||
anyOf |
||||
|
Use Communication Interface |
|||
type |
boolean |
|||
default |
False |
|||
|
Add Step Information |
|||
type |
boolean |
|||
default |
False |
|||
|
Working Directory |
|||
type |
string |
|||
|
Execution Command |
|||
type |
string |
|||
|
Command Options |
|||
type |
array |
|||
items |
type |
string |
||
additionalProperties |
False |
|||
SPORObjectExternalPythonFunction
Load a python function from an external file. This class is meant to load a python function from an external file and execute it. The function will be imported in to the package and run in the same python environment as the rest of the package is. If you want to call the function you can use the SPORCommandLineObject. The function needs to be called main and needs to have the following signature:
Where args are the SPOR COMM arguments, logger is a logger provided by the SPORObject and, func_data is a persistent data variable which is not touched by the SPORObject. |
||||
type |
object |
|||
properties |
||||
|
Save Location |
|||
type |
string |
|||
format |
path |
|||
|
Logger Name |
|||
type |
string |
|||
|
Name |
|||
type |
string |
|||
|
Stop After Error |
|||
type |
boolean |
|||
default |
True |
|||
|
Reward On Error |
|||
type |
number |
|||
|
Reward On Completion |
|||
type |
number |
|||
|
Run On Reset |
|||
type |
boolean |
|||
default |
True |
|||
|
Additional Observations |
|||
anyOf |
||||
type |
array |
|||
items |
anyOf |
|||
|
Multi Processor |
|||
anyOf |
||||
|
Use Communication Interface |
|||
type |
boolean |
|||
default |
False |
|||
|
Add Step Information |
|||
type |
boolean |
|||
default |
False |
|||
|
Working Directory |
|||
type |
string |
|||
|
Python File Path |
|||
anyOf |
type |
string |
||
type |
string |
|||
format |
path |
|||
additionalProperties |
False |
|||
SPORObjectInternalPythonFunction
This class will load SPOR functions provided by this package. Currently available functions are the following:
|
||||
type |
object |
|||
properties |
||||
|
Save Location |
|||
type |
string |
|||
format |
path |
|||
|
Logger Name |
|||
type |
string |
|||
|
Name |
|||
type |
string |
|||
|
Stop After Error |
|||
type |
boolean |
|||
default |
True |
|||
|
Reward On Error |
|||
type |
number |
|||
|
Reward On Completion |
|||
type |
number |
|||
|
Run On Reset |
|||
type |
boolean |
|||
default |
True |
|||
|
Additional Observations |
|||
anyOf |
||||
type |
array |
|||
items |
anyOf |
|||
|
Multi Processor |
|||
anyOf |
||||
|
Use Communication Interface |
|||
type |
boolean |
|||
default |
False |
|||
|
Add Step Information |
|||
type |
boolean |
|||
default |
False |
|||
|
Working Directory |
|||
type |
string |
|||
|
Function Name |
|||
type |
string |
|||
enum |
xns_cnn |
|||
additionalProperties |
False |
|||
SPORList
The SPORList defines the custom defined steps. In the current version these steps take place after the FFD is done. These can include the fluid solver, post-processing steps, reward generation, additional logging, etc. In a future version the FFD might be incorporated into a SPOR step to stream line the internal functionality. If a step sends a stop signal all consecutive steps will be ignored and the Each step can generate observations, rewards and info for the current episode step. These are aggregated as follows. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Steps |
||
type |
array |
||
items |
anyOf |
||
|
Reward Aggregation |
||
type |
string |
||
enum |
sum, min, max, mean, absmax |
||
additionalProperties |
False |
||
Environment
Parser class of which the environment is based. Parser Environment object is created by pydantic during the parsing of the json object defining the RL based Shape optimization. Each object can create a gym environment that represents the given problem. |
||
type |
object |
|
properties |
||
|
Save Location |
|
type |
string |
|
format |
path |
|
|
Logger Name |
|
type |
string |
|
|
||
|
Geometry |
|
anyOf |
||
|
||
|
Max Timesteps In Episode |
|
type |
integer |
|
minimum |
1 |
|
|
End Episode On Geometry Not Changed |
|
type |
boolean |
|
default |
False |
|
|
Reward On Geometry Not Changed |
|
type |
number |
|
|
Reward On Episode Exceeds Max Timesteps |
|
type |
number |
|
additionalProperties |
False |
|
Validation
Parser class to define the validation to be performed during training. This class is used for the configuration of how validation is to be performed during training. |
|||
type |
object |
||
properties |
|||
|
Save Location |
||
type |
string |
||
format |
path |
||
|
Logger Name |
||
type |
string |
||
|
Validation Freq |
||
type |
integer |
||
minimum |
1 |
||
|
Validation Values |
||
type |
array |
||
items |
type |
number |
|
minItems |
1 |
||
|
Save Best Agent |
||
type |
boolean |
||
|
Validate On Training End |
||
type |
boolean |
||
|
Max Timesteps In Episode |
||
type |
integer |
||
minimum |
1 |
||
|
End Episode On Geometry Not Changed |
||
type |
boolean |
||
default |
False |
||
|
Reward On Geometry Not Changed |
||
type |
number |
||
|
Reward On Episode Exceeds Max Timesteps |
||
type |
number |
||
additionalProperties |
False |
||