[bugfix] add div_no_nan and prevent divide by zero loss weight #295
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Test CI | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
workflow_dispatch: | |
jobs: | |
ci-test: | |
runs-on: tzrec-runner | |
container: | |
image: mybigpai-public-registry.cn-beijing.cr.aliyuncs.com/easyrec/tzrec-devel:0.6 | |
options: --gpus all --ipc host | |
steps: | |
- name: FetchCommit ${{ github.event.pull_request.head.sha }} | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
path: run_${{ github.run_id }} | |
- name: RunUnitTestCI | |
id: run_unittest_ci | |
run: | | |
cd run_${{ github.run_id }} | |
bash scripts/ci_test.sh |