Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update mmdetection fork #1

Merged
merged 559 commits into from
Jul 5, 2020
Merged

update mmdetection fork #1

merged 559 commits into from
Jul 5, 2020

Conversation

simonJJJ
Copy link
Owner

@simonJJJ simonJJJ commented Jul 5, 2020

No description provided.

xvjiarui and others added 30 commits April 11, 2020 11:30
* add cfg for anchor head

* add copy in two stage rpn
* add PAFPN

* add doc

* rename cfg, inherit from fpn

* reformat doc string

* standard doc string

* fix doc of fpn

* rename lateral_dconv to downsample_convs
* support-empty-tensor

* minor update

* add unit test

* fix unit test

* add assert value equal

* simplify some codes

* simplify unit tests

* distinguish x with x_empty and x_normal

* ref only forward once

* fix python3.5 ci error
* rename api

* Refactor (APIs): rename imgs_per_gpu to samples_per_gpu

* Clean files

* Refactor (infos): rename self.infos to self.data_infos
#2410)

* Refactor (training cfgs): change default training settings for better performance

* Change RoIAlign sample num & caffe img norm

* Refactor (LR): change 1/1000 to 0.001
* Add classes as input parameter

* Update 'use my own datasets' documentation

* Add test_datasets

* Fix assert

Co-authored-by: David de la Iglesia Castro <diglesia@gradiant.org>
* Add ability to specify device ids for non-distributed training

Changes to be committed:
modified:   mmdet/apis/train.py
modified:   tools/train.py

* Deprecate cfg.gpus in favor of cfg.gpu_ids

Changes to be committed:
modified:   mmdet/apis/train.py
modified:   tools/train.py

* Fix strange issue with mutually_exclusive_group

Changes to be committed:
modified:   tools/train.py

* Fix gpu-ids nargs parameter

Changes to be committed:
modified:   tools/train.py
* support to train subsets of coco dataset

* add template config

* Add docstrings

* Refactor (classes): modity API to be consistent with PR 2408

* Add support for buildin datasets

* Merge V2.0 and pass all unittest

* Fix (template configs)

* Refactor (subset): change function names

* Refactor (custom_classes): add subset check

* Filter instance during training by self.CLASSES

* Fix comments

* Raise error when classes is in unsupport type

* Refactor: put call of get_subset_by_classes in custom.py

* Modify test_dataset to pass CI

* Fix custom_classes bug

* rename clean_data_infos to subset_data_infos
* Refactor (tools): use '-' rather than '_' for command option

* Change command line options in docs
* Add regression test for custom classes

* remove assert
* Merge _dist_train and _non_dist_train

* Add missing distributed arg to Fp16OptimizerHook
* Refactor (assigner): add iou_calculator

* Rename (iou_calculator): rename registry IOUCALCULATOR to  IOU_CALCULATOR

* resolve comments

* Rename IOU_CALCULATOR to IOU_CALCULATORS
* merge target into head

* remove squeeze in image_to_level, add doc string

* reformat doc string

* update docs, rename to get_target

* reanme unify all target functions to get_targets

* set test_cfg as default cfg for get_bboxes

* fixed test

* rename get_targets in atss, fcos ,fovea, reppoint

* rename get_det_bboxes to get_bboxes
* remove dupulicate unmap

* move unmap from anchor/utils to utils/misc
* Support class wise mean AP for coco

* Reformat code

* Reformat print output

* Reformat doc
* add coder registry

* add coder for single stage

* rename to bbox_coder

* add doc string

* add doc string

* change default
* remove datasets.loader and add datasets.samplers

* fix typo in the filename
* fixed configs, add bypass_duplicate option

* rename _is_disjoint to _is_in
* add reg_decoded_bbox in two_stage

* finished single stage

* fixed comment

* fixed docs
* fixed init/refine

* fixed bbox coder assert
* Support V1.0 anchor generator

* Reformat code

* Add registry for anchor generator

* Reformat docstring

* fix isort

* Refactor anchor generator

* reformat doc, add unittest

* Refactor retinahead anchor generator

* Fix test_anchor device bug

* Fix docstring

* Resolve comments with more unittests

* Fix atss bug and add more unittest

* Resolve comments

* Add more asset and check
hellock and others added 29 commits June 27, 2020 21:25
* migrate flops counter to mmcv

* remove useless unit tests

* update the doc
* add interrogate to travis

* add missing requirements
* migrate to github action

* fixed typo

* install pycocotools

* resolve comments

* fixed syntax
* rename regnet configs

* Further fix bugs

* Update 400MF

* fix name bugs in configs

* fix bn default
* add RandomCenterCropPad and unittest

* add instruction for RandomCenterCropPad

* update Resize, RandomCenterCropPad and MultiScaleFlipAug

* update unittest of Resize

* update docstring

* add unittest for MultiScaleFlipAug with Resize

* update function _get_border

* update __init__ and __repr__, fix unittest

* fix repr_str

* add docstrings

* update docstring

* Update transforms.py

* add assert in Resize

* fix linting error
* add gfocal losses

* add gfl head, its related code, configs

* fix 2x config bug

* add most model and log in gfl README

* update gfl model and log

* Update transforms.py

modify variables  L, T, R, B   to  left, top, right, bottom

* Update gfocal_loss.py

modify variables into meaningful names:
* pt -> scale_factor
* a -> pos   b -> pos_label
* disl -> dis_left  disr -> dis_right
* wl -> weight_left  wr -> weight_right

* Update gfocal_loss.py

update formats

* remove duplicated get_bboxes/IoU calculation, make QFL consistent

* add all docstring in gfl_head.py and gfocal_loss.py
* Add support for DetectoRS.

* Fix Travis CI build failure and remove loading rfp_pretrained for test

* Revise the code according to the PR reviews:

* remove unnecessary `,`

* add docstring to ASPP and ConvAWS2d

* make args of ASPP configurable

* simplify the code of ConvAWS2d

* import nn and functional for SAConv2d

* rewrite rfp_conv with build_conv_layer and constant_init

* rename rfp_inp with rfp_inplanes

* reformat code to pass Travis CI build

* Revise codes according to the PR reviews:

* Create new backbone DetectoRS_ResNe(X)t to incorporate RFP and SAC.

* Initialize modules with mmcv.cnn.

* Revise the codes of RFP.

* Revise codes according to the PR comments:

* Add docstrings to Bottleneck in mmdet/models/backbones/detectors_resnet.py.

* Add docstrings to _load_from_state_dict in mmdet/ops/conv_ws.py.

* Initialize the switch of SAC with mmcv.

* minior refactor and docstring

* update doc

* update README

* move init into init_weights()

* update model zoo

* add gfl

Co-authored-by: Jiarui XU <xvjiarui0826@gmail.com>
* WIP: add auto augmentation

* add blank space

* change AutoAugment based on 1-st comments

* fix a bug in AutoAugment

* use Compose in AutoAugment

* move Compose from __call__ to __init__ in AutoAugment

* change AutoAugment based on 2nd comments

* fix a typo in AutoAugment
* refactor anchor free detector

* add doc str

* fix fovea

* make consistent with previous version

* fix format

* fix format

* add version

* fix k and p
* Complete model zoo models

* Update performance

* Update links
* Complete model zoo models

* Update performance

* Update links

* Update gfl aws links

* Update groie performance
* add switch in loading, fix scale_factor bug

* add unittest for MultiScaleFlipAug and Resize

* fix unittest for test_loading.py

* move default_meta_key to Bundle, add aug test for Cascade RCNN/Mask RCNN/HTC

* update Bundle and add unittest, update original unittest

* fix yapf formatting

* fix the version of codecov-action to 1.0.7

Co-authored-by: Kai Chen <chenkaidev@gmail.com>
* Bump to 2.2

* remove some

* update

* update

* update mmcv version
* Add transform types todo

* Move TODO to Line15
* change accuracy to positive recall in FSAF

* use mmdet accuracy module to calculate pos recall in fsaf

* Change label to long in unittest

* revise docstring according to comments

* revise docstring according to comments
* update docstring formats

* fix :func:

* minor update
* fix isort issue

* limit isort version to 4.3.21

* add --recursive back for isort
* doc: Update install.md

add `conda install Cython` before install the forked version of `pycocotools`

* add cython to requirements/build.txt

Co-authored-by: Kai Chen <chenkaidev@gmail.com>
* restructure unit tests

* fix paths
@simonJJJ simonJJJ merged commit 751023d into simonJJJ:master Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.