BARK-ML provides simple-to-use OpenAi-Gym environments for several scenarios, such as highway driving, merging and intersections. Additionally, BARK-ML integrates state-of-the-art machine learning libraries to learn driving behaviors for autonomous vehicles.
BARK-ML supported machine learning libraries:
Before running the examples, install the virtual python environment (bash utils/install.sh
) and enter it (source utils/dev_into.sh
).
Continuous environments: bazel run //examples:continuous_env
Available environments:
highway-v0
: Continuous highway environmenthighway-v1
: Discrete highway environmentmerging-v0
: Continuous merging environmentmerging-v1
: Discrete merging environmentintersection-v0
: Continuous intersection environmentintersection-v1
: Discrete intersection environmentTF-Agents SAC-example: bazel run //examples:tfa
.
# Separate sets of tests
bazel test :unit_tests
bazel test :examples_tests
bazel test :gail_tests
bazel test :generate_load_tests
# All test sets combined
bazel test :all_tests
# All tests in workspace
bazel test //...
BARK-ML specific code is distributed under MIT License.