Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/test_mim.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: test-mim

on:
push:
paths:
- 'model-index.yml'
- 'configs/**'

pull_request:
paths:
- 'model-index.yml'
- 'configs/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build_cpu:
runs-on: ubuntu-18.04
strategy:
matrix:
python-version: [3.7]
torch: [1.8.0]
include:
- torch: 1.8.0
torch_version: torch1.8
torchvision: 0.9.0
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip
run: pip install pip --upgrade
- name: Install PyTorch
run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Install openmim
run: pip install openmim
- name: Build and install
run: rm -rf .eggs && mim install -e .
- name: test commands of mim
run: mim search mmrotate
2 changes: 1 addition & 1 deletion configs/csl/metafile.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Collections:
- Name: CSL
- Name: csl
Metadata:
Training Data: DOTAv1.0
Training Techniques:
Expand Down
7 changes: 5 additions & 2 deletions model-index.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
Import:
- configs/cfa/metafile.yml
- configs/csl/metafile.yml
- configs/g_reppoints/metafile.yml
- configs/gliding_vertex/metafile.yml
- configs/gwd/metafile.yml
- configs/kfiou/metafile.yml
- configs/kld/metafile.yml
- configs/oriented_rcnn/metafile.yml
- configs/r3det/metafile.yml
- configs/redet/metafile.yml
- configs/roi_trans/metafile.yml
- configs/rotated_atss/metafile.yml
- configs/rotated_faster_rcnn/metafile.yml
- configs/rotated_fcos/metafile.yml
- configs/rotated_reppoints/metafile.yml
- configs/rotated_retinanet/metafile.yml
- configs/s2anet/metafile.yml
- configs/g_reppoints/metafile.yml
- configs/kfiou/metafile.yml
- configs/sasm_reppoints/metafile.yml