modify dropoutnet in case of batch size mismatch #1109
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: CI Build | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
ci-test: | |
runs-on: EasyRec-unit-test | |
defaults: | |
run: | |
shell: bash {0} | |
steps: | |
- name: FetchCommit ${{ github.event.pull_request.head.sha }} | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
submodules: recursive | |
- name: RunCiTest | |
id: run_ci_test | |
env: | |
TEST_DEVICES: "" | |
PULL_REQUEST_NUM: ${{ github.event.pull_request.number }} | |
run: | | |
source activate /home/admin/tf12_py2/ | |
python git-lfs/git_lfs.py pull | |
source scripts/ci_test.sh | |
- name: SignalFail | |
env: | |
CI_TEST_PASSED: ${{steps.run_ci_test.outputs.ci_test_passed}} | |
run: | | |
echo "CI_TEST_PASSED=${CI_TEST_PASSED}" | |
if [ $CI_TEST_PASSED -ne 1 ] | |
then | |
echo "ci_test_failed, will exit" | |
exit 1 | |
fi |