Skip to content

SelfAttention layer #206

SelfAttention layer

SelfAttention layer #206

Workflow file for this run

name: "Torchélie tests"
on: [push]
jobs:
install-dependencies:
name: "Dependencies + Tests"
runs-on: ubuntu-20.04
steps:
- name: "Checkout code"
uses: actions/checkout@v2
- name: "Cache pip"
uses: actions/cache@v2
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
# Look to see if there is a cache hit for the corresponding requirements file
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-
- name: "Set up Python"
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: "Install Python tooling"
run: |
python -m pip install --upgrade pip
pip install pytest
- name: "Install dependencies"
run: |
pip install -r requirements.txt
pip install -r requirements-full.txt
- name: "Run tests with pytest (without OpenCV)"
run: |
python -m pytest -m "not require_opencv and not require_tensorboard"