GAIL-4-BARK / bark-ml

Machine Learning Applied to Autonomous Driving
MIT License
0 stars 0 forks source link

Add gail example file #34

Closed MarcelBruckner closed 4 years ago

MarcelBruckner commented 4 years ago

I added the file examples/gail.py and the corresponding bazel files to correctly build and link the files that @ferenctorok made in

bark_ml/library_wrappers/lib_tf2rl/
bark_ml/library_wrappers/lib_tf2rl/agents/
bark_ml/library_wrappers/lib_tf2rl/runners

The example file with the corresponding bazel files gives us a way to train and visualize the gail implementation in bark.

Run it using:

bazel run //examples:gail -- --mode=<train|visualize|evaluate> --train_out=<absolute-path-to-where-you-want-the-checkpoints-and-summaries>

Print the help which explains the flags in depth:

bazel run //examples:gail -- --help

And to debug in VS Code I also updated our launch.config with a run config for the example/gail.pyfile.