Add accuracy_sample_count #300
Workflow file for this run
This file contains hidden or 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: Test for the downloads of calibration datasets | |
| on: | |
| pull_request: | |
| branches: [ "master", "dev" ] | |
| paths: | |
| - vision/classification_and_detection/** | |
| - language/** | |
| - recommendation/** | |
| - .github/workflows/test-calibration-downloads.yml | |
| - '!**.md' | |
| env: | |
| PR_HEAD_REF: ${{ github.event.pull_request.head.ref }} | |
| jobs: | |
| download-openimages: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [ "3.9" ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install mlc-scripts | |
| - name: Download Openimages Calibration | |
| run: | | |
| mlcr get,dataset,openimages,_calibration --outdirname=. --quiet | |
| download-igbh: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [ "3.9" ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install mlc-scripts | |
| # - name: Download IGBH Calibration | |
| # run: | | |
| # mlcr get,dataset,igbh,_calibration --outdirname=. --quiet | |
| download-squad: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: [ "3.9" ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v3 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install mlc-scripts | |
| - name: Download SQUAD Calibration | |
| run: | | |
| mlcr get,dataset,squad,_calib1 --outdirname=. --quiet |