Skip to content

STL-related updates were added in evaluation #975

STL-related updates were added in evaluation

STL-related updates were added in evaluation #975

Workflow file for this run

name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker://barksim/bark-ml:latest
steps:
- uses: actions/checkout@v1
- name: Setting up virtual environment
run: virtualenv -p python3 ./bark_ml/python_wrapper/venv --system-site-packages
- name: Entering the virtual python environment..
run: . ./bark_ml/python_wrapper/venv/bin/activate
- name: Installing and upgrading pip..
run: pip install --upgrade pip
- name: Installing and upgrading pip packages..
run: pip install --upgrade --trusted-host pypi.org -r ./utils/docker/installers/requirements.txt
- name: Installing Tensorflow packages..
run: pip install tensorflow-addons==0.11.2 graph-nets==1.1.0 ray==1.0.0
- name: Installing Pytorch venv..
run: pip install --target=./bark_ml/python_wrapper/venv/lib/python3.7/site-packages torch==1.9.0+cpu torchvision -f https://download.pytorch.org/whl/torch_stable.html
- name: Installing Pytorch global..
run: pip install torch==1.9.0+cpu torchvision -f https://download.pytorch.org/whl/torch_stable.html
- name: Add torch environment variable
run: export LD_LIBRARY_PATH=./bark_ml/python_wrapper/venv/lib/python3.7/site-packages/torch/lib/
- name: reinstall protobuf3.20.*.
run: pip install protobuf==3.20.*
- name: Running tests
run: bazel test //bark_ml:unit_tests