Arec
3991306da0
updating evaluation wrapper to only store relevant variables during execution
2022-01-31 16:28:13 -08:00
Arec
3b60c14319
removing old implementation for rollout_and_save, and helper functions that were necessary for it
2022-01-18 18:03:38 -08:00
Arec
427a9e4f1b
adding rollout and trajectory flattening utilities. including old implementation in this commit
2022-01-18 17:53:56 -08:00
Arec
2c1dc6ca33
committing changes to start testing framework, removing shuffling of data
2022-01-17 15:47:40 -08:00
Arec
d34fa5774d
adding functions to save joint expert states and actions for repeated use in metrics, adding option to flatten loaded trajectories, adding class to not shuffle trajectories when saving experts to make sure it lines up with the joint states. checked that it does
2021-11-29 14:09:57 -08:00
Arec
a07050a748
fixing rendering system and main script to align with new repo changes
2021-11-09 07:15:07 -08:00
Arec
5799d095d9
adding tools to render directly from a policy, updating data generator, adding scratch files
2021-11-09 06:28:42 -08:00
ebuehrle
4a69322ed0
Move eps to constructor
2021-11-05 10:32:07 +01:00
ebuehrle
2aaaad36f0
Fix rendering
...
- support predict()
- move discount to OptionsEnv
- fix RenderOptions
2021-11-02 16:15:34 +01:00
ebuehrle
8dd42abbf3
use discriminator preprocessing
2021-10-29 14:31:10 +02:00
ebuehrle
e57da1338a
Check emergency braking in available actions
2021-10-29 11:10:42 +02:00
ebuehrle
999cb80e13
Merge branch 'vectorize-propagation2'
2021-10-29 11:07:14 +02:00
ebuehrle
5bdf85562b
Merge branch 'main' into dev
2021-10-29 10:54:21 +02:00
Johannes Fischer
673b565e11
Update scratch
2021-10-28 18:31:52 +02:00
Johannes Fischer
1a1f6d8836
Merge branch 'main' of github.com:sisl/InteractionImitation
2021-10-28 18:17:47 +02:00
Johannes Fischer
0077c24074
precompute expert features
2021-10-28 18:16:00 +02:00
ebuehrle
b1740764e3
Parameterize number of discriminator updates per epoch
2021-10-28 17:58:42 +02:00
ebuehrle
8d7409c914
Check emergency braking in available actions
2021-10-28 17:54:58 +02:00
ebuehrle
f9e058a7d9
Vectorize available actions computation
2021-10-28 15:47:39 +02:00
Johannes Fischer
1bab1aaab7
Cleanup evaluation
2021-10-28 13:31:08 +02:00
Johannes Fischer
7ffcc0b4b8
Extract evaluation code to separate file
2021-10-28 13:29:00 +02:00
Johannes Fischer
2218d14409
Move metrics
2021-10-28 13:26:17 +02:00
Johannes Fischer
3857716cec
Rename predict to forward
...
This is done to be consistent with stable baselines interface. predict is then automatically defined. This is necessary to use stable baselines' evaluate_policy method
2021-10-28 09:42:27 +02:00
ebuehrle
bcddf422f0
Move files to src
2021-10-26 17:41:05 +02:00
Arec
06785236d4
fixing expert data combiner and adding feasibility checking with all options to util.collisions
2021-10-21 06:59:21 -07:00
Arec
2d8928f2ae
updating data processing scripts to output to the correct location
2021-10-21 06:29:43 -07:00
Arec
05b31092f4
moving options policy to policies, commenting options image, and making the calls to train more flexible
2021-10-21 05:59:28 -07:00
Arec
45a99978e4
adding discriminators to main folder, utilities to render a video from a saved model
2021-10-21 05:33:05 -07:00
Arec
da1fb11269
adding functions to process expert data across locations and tracks in intersimple environment
2021-10-21 05:21:06 -07:00
Johannes Fischer
88b4466e57
MInor change in value dice loss, activate print statements, only do EITHER value OR policy update for each batch
2021-08-06 18:52:17 +02:00
Johannes Fischer
025c71767f
Change final value network activation to identity
2021-08-06 18:48:53 +02:00
Johannes Fischer
66bfba3986
Minor formatting
2021-08-05 18:37:54 +02:00
Johannes Fischer
6afb112277
Bugfix in value dice
...
FIRST backward() has to be called on both, policy and value, before step() is called for either of them
2021-08-05 18:35:14 +02:00
Johannes Fischer
bf4c19a4d0
Add value dice ray config
2021-08-05 18:33:34 +02:00
Johannes Fischer
40c55478f3
Bugfixes in valuedice
2021-08-04 20:53:03 +02:00
Johannes Fischer
2224e2cd14
Merge branch 'main' of github.com:sisl/InteractionImitation
2021-08-04 19:44:55 +02:00
Johannes Fischer
5c40de66fa
Implement ValueDICE and some restructuring
2021-08-04 19:34:49 +02:00
Arec
f9729b0a9d
making expert data save s, a, sp. making dataloader also load batches thisway. renaming state to ego_state. converting path_x and path_y to single path variable. making number of samples for ray an argument. adjusting metrics, policy, and other functions to be able to handle this
2021-08-04 09:45:36 -07:00
Johannes Fischer
cba42c6e4d
Set default divergence to histogram based
2021-08-03 17:18:30 +02:00
Johannes Fischer
5919a4e439
Use JS divergence in metrics
2021-08-03 17:04:47 +02:00
Johannes Fischer
1ee46214a7
Implement jenson shannon divergence
2021-08-03 17:03:37 +02:00
Johannes Fischer
1916a8fe69
Implement metrics and write to tensorboard summary at test time
2021-08-03 15:24:29 +02:00
Arec
98294e0c95
Merge branch 'main' of https://github.com/sisl/InteractionImitation into main
2021-08-03 03:28:23 -07:00
Arec
6e524cf4b5
adding options for regularization and relative state masking via interaction graphs during data processing and experiment running. found 0.002 regularization on actions gives up to 3m of deviation with no collisions. added shell script to run ray experiments overnight
2021-08-02 14:38:06 -07:00
Johannes Fischer
b869597717
extend comment on divergence
2021-08-02 19:15:02 +02:00
Johannes Fischer
f468b3b7a4
Implement histogram based kl divergence computation
2021-08-02 19:14:40 +02:00
Johannes Fischer
6177b1f7e1
Add kl_cat
2021-08-02 11:12:24 +02:00
Johannes Fischer
4ea4d42df7
Merge branch 'main' of github.com:sisl/InteractionImitation
2021-08-02 11:08:35 +02:00
Johannes Fischer
281f7773c4
Implement kl divergence methods and tests
2021-08-02 11:04:03 +02:00
Johannes Fischer
99f7df2e7c
Add comment
2021-07-30 18:19:29 +02:00