Skip to content

fix bug use_best_ckpt_folder #969

fix bug use_best_ckpt_folder

fix bug use_best_ckpt_folder #969

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 packages..
run: pip install --upgrade pip
run: pip install --upgrade --trusted-host pypi.org -r ./utils/docker/installers/requirements.txt

Check failure on line 19 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 19, Col: 9): 'run' is already defined
- 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: Running tests
run: bazel test //bark_ml:unit_tests