[Fix]: Fix lint (#18)

pull/133/head
Brandon Liu 2021-12-16 11:32:18 +08:00 committed by GitHub
parent 6320bba34a
commit bbfd50e8c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -19,4 +19,4 @@ jobs:
- name: Publish distribution to PyPI
run: |
pip install twine
twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}
twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}

View File

@ -6,7 +6,7 @@
[![badge](https://github.com/open-mmlab/mmselfsup/workflows/build/badge.svg)]()
[![codecov](https://codecov.io/gh/open-mmlab/mmselfsup/branch/master/graph/badge.svg)]()
[![license](https://img.shields.io/github/license/open-mmlab/mmselfsup.svg)]()
</div>
## Introduction

View File

@ -94,7 +94,7 @@ Remarks:
## Detection
Here we prefer to use MMDetection to do the detection task. First, make sure you have installed [MIM](https://github.com/open-mmlab/mim), which is also a project of OpenMMLab.
Here we prefer to use MMDetection to do the detection task. First, make sure you have installed [MIM](https://github.com/open-mmlab/mim), which is also a project of OpenMMLab.
```shell
pip install openmim
```
@ -127,7 +127,7 @@ bash run.sh ${DET_CFG} ${OUTPUT_FILE}
```
## Segmentation
For semantic segmentation task, we are using MMSegmentation. First, make sure you have installed [MIM](https://github.com/open-mmlab/mim), which is also a project of OpenMMLab.
For semantic segmentation task, we are using MMSegmentation. First, make sure you have installed [MIM](https://github.com/open-mmlab/mim), which is also a project of OpenMMLab.
```shell
pip install openmim

View File

@ -94,7 +94,7 @@ Remarks:
## Detection
Here we prefer to use MMDetection to do the detection task. First, make sure you have installed [MIM](https://github.com/open-mmlab/mim), which is also a project of OpenMMLab.
Here we prefer to use MMDetection to do the detection task. First, make sure you have installed [MIM](https://github.com/open-mmlab/mim), which is also a project of OpenMMLab.
```shell
pip install openmim
```
@ -127,7 +127,7 @@ bash run.sh ${DET_CFG} ${OUTPUT_FILE}
```
## Segmentation
For semantic segmentation task, we are using MMSegmentation. First, make sure you have installed [MIM](https://github.com/open-mmlab/mim), which is also a project of OpenMMLab.
For semantic segmentation task, we are using MMSegmentation. First, make sure you have installed [MIM](https://github.com/open-mmlab/mim), which is also a project of OpenMMLab.
```shell
pip install openmim

View File

@ -8,7 +8,7 @@ line_length = 79
multi_line_output = 0
known_standard_library = setuptools
known_first_party = mmselfsup
known_third_party = PIL,detectron2,faiss,matplotlib,mmcv,mmdet,numpy,packaging,pytest,scipy,seaborn,six,sklearn,svm_helper,torch,torchvision,tqdm
known_third_party = PIL,detectron2,faiss,matplotlib,mmcv,mmdet,numpy,packaging,pytest,pytorch_sphinx_theme,scipy,seaborn,six,sklearn,svm_helper,torch,torchvision,tqdm
no_lines_before = STDLIB,LOCALFOLDER
default_section = THIRDPARTY