You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+67-2
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ Check out [experiment1.json](./experimentConfigs/experiment1.json) for reference
57
57
58
58
From here, you do one of two things:
59
59
60
-
1. Train Step: Run `TrainDispatcher.py` to the model on the given environment. The script is written to dispatch a batch job on IIIT-H's HPC cluster, so modify it to run on your machine as needed.
60
+
1. Train Step: Run `TrainDispatcher.py` to the model on the given environment. The script is written to dispatch a batch job on IIIT-H's HPC cluster, or on your local machine with the `--local` flag.
61
61
62
62
2. Evaluation Step: Run `SBAgent/EvaluateExperiment.py` to evaluate the model in the given environment.
63
63
@@ -141,4 +141,69 @@ To use a Kalman Filter as the Denoise Engine, set `"denoiseEngine"` to the follo
141
141
}
142
142
```
143
143
144
-
*`processNoise`: Standard Deviation of the process noise.
144
+
*`processNoise`: Standard Deviation of the process noise.
145
+
146
+
147
+
## The Scripts
148
+
149
+
### `TrainDispatcher.py`
150
+
151
+
Used to perform the train phase of a given experiment. To run it, run:
*`experimentConfigFile` is path to the experiment configuration file.
158
+
*`-s` to specify the number of timesteps to train for. Defaults to 2,000,000.
159
+
* Add the `--local` flag to run the training on your local machine. If this flag is omitted, the script generates a batch job configuration and dispatches it on one of the nodes on IIIT-H's HPC.
160
+
161
+
### `SBAgent/EvaluateExperiment.py`
162
+
163
+
Used to perform the evaluation phase of a given experiment. To run it, run:
*`configFileName` is the name of the environment configuration file inside the `config` directory.
198
+
*`outputModelName` is the name to save the output model as. This must begin with either `base/` or `finetuned/` (for the current script it is should ideally always be `base/`) followed by the name of the model. The trained model is then saved in `SBAgent/models/<outputModelName>`.
199
+
*`-s` to specify the number of timesteps to train for. Default is 2,000,000.
200
+
201
+
## Evironment Configurations
202
+
203
+
Check out [ConfigLogs.md](./configs/ConfigLogs.md) for the description for every environement.
204
+
205
+
## Models
206
+
207
+
Check out [base/ModelLogs.md](./SBAgent/models/base/ModelLogs.md) for the description of every model trained from scratch.
208
+
209
+
Check out [finetuned/ModelLogs.md](./SBAgent/models/finetuned/ModelLogs.md) for the description of every model finetuned from an existing model.
0 commit comments