* Add default_gpu_number flag in config : default_runtime.py
* Support automatically scaling LR according to GPU number
* Improve code comments
* Improve code comments
* Imporve variable naming
* Improve log message for scale lr, add print samples_per_gpu
* Modify formula for scale lr
* using function to encapsulate scale LR
* Add special flag for GPU and samples_per_gpu on config and will be used when scaling LR
* Add distributed flag in function scale_lr
* Docs add Learning rate automatically scale and Add disable_auto_scale_lr flag
* Update doc
* Use len(cfg.gpu_ids) to get gpu number when distributed mode
* Update doc about Learning rate automatically scale
* Using default batch size instead of GPU x Sample per GPU, Add flag in each config which not equal default batch size
* Using default_batch_size or mmdet_official_special_batch_size to scale the LR
* Add argument --auto-scale-lr to enable auto scale lr.
* Update doc about learning rate automatically scale
* Use default_batch_size in each config file instead of mmdet_official_special_batch_size
* make if branch better
* Not set default batch size in dataset config
* Default batch size set to 16, Fix some code lint
* undo some change
* Fix lint problem
* Doc add the function of default_batch_size and enable_auto_scale_lr
* remove `f` where is no variable.
* Updata doc about the default_batch_size setting
* Update explanation about default_batch_size
* Update explanation about default_batch_size
* Add default_batch_size in config files which default batch size is not 16. Update Doc
* Update Doc
* fix lint : double quoted strings
* Improve the naming of some variables
* Updata doc about the Learning rate automatically scale
* According to configs/cityscapes, set default_batch_size = 8 in config files
* Fix some comments according to the review
* Fix some doc according to the review
* Fix some doc according to the review
* Not using assert in the function autoscale_lr
* Imporve variable naming : enable_auto_scale_lr to auto_scale_lr
* Using world_size to get gpu number when is distributed.
* function autoscale_lr rename to auto_scale_lr for unifying
* Fix lint problem
* Fix lint problem
* Add warning message when can not find default_batch_size
* Add warning message when can not find default_batch_size
* Improve the doc accroding to the review
* Add `default_initial_lr` for auto scal lr. Using auto_scale_lr_config dict to contain all setting of auto scale lr
* Improve coding style
* Improve Doc
* Improve doc
* Remove a previous `default_batch_size`
* Fix doc bug
* Add warming message when cfg.optimizer.lr != default_initial_lr
* Always use `cfg.optimizer.lr` to calculate the new LR
* Fix lint problem
* warning message version change to 2.24
* Fix logger info line
* Set None when can't find value
* Fix num_gpu when using distributed
* Improve doc
* Add more detail for `optimizer.lr` and `auto_scale_lr_config.auto_scale_lr`
* Fix lint problem
* Using new config dict `auto_scale_lr`
* auto_scale_lr logic using `auto_scale_lr`
* Improve doc about new auto_scale_lr
* Fix logger string
* Improve logger info
* Fix lint problem
* delete some blank lines
* Imporve coding
* Add the `auto_scale_lr` to those config files which `sample_per_gpu` is not `2` and number of GPU is not specifying in README at the same time
* Add the `auto_scale_lr` to those config files which `sample_per_gpu` is not `2` and number of GPU is not specifying in README at the same time
* Fix#6915: Support to set data root through commands
* Support #6915: seperate function in tools/utils.py, support test.py and browse_dataset.py
* update #6915: refactor the code ref @hhaAndroid advice
* support #6915: fix format problem
* supoort corresponding scripts and update doc @hhaAndroid
* updata misc.py as @ZwwWayne and @hhaAndroid
* Update mmdet/utils/misc.py
Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>
* fix mmdet/utils/misc.py format problem
Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>
* Mosaic documentation enhancements
- Added Mosaic and MultiImageMixDataset must be used together in FAQ document
- Added the demo configuration of Faster R-CNN using Mosaic
* Mosaic doc enhancements
correct some errors as suggested
* Remove unnecessary Settings
a little change
* update some details
* update-mosaic-to-how-to
* Mosaic documentation enhancements
- Added Mosaic and MultiImageMixDataset must be used together in FAQ document
- Added the demo configuration of Faster R-CNN using Mosaic
* Mosaic doc enhancements
correct some errors as suggested
* Remove unnecessary Settings
a little change
* update some details
* rebase dev branch
delete the mosaic in fap.md since it is in how_to.md
* rebase dev
* Mosaic documentation enhancements
- Added Mosaic and MultiImageMixDataset must be used together in FAQ document
- Added the demo configuration of Faster R-CNN using Mosaic
* Mosaic doc enhancements
correct some errors as suggested
* Remove unnecessary Settings
a little change
* update some details
* rebase dev branch
delete the mosaic in fap.md since it is in how_to.md
* Mosaic documentation enhancements
- Added Mosaic and MultiImageMixDataset must be used together in FAQ document
- Added the demo configuration of Faster R-CNN using Mosaic
* Mosaic doc enhancements
correct some errors as suggested
* Remove unnecessary Settings
a little change
* update some details
* rebase dev
* Bump versions to v2.22.0
* Fix comments and add the latest PRs
* fix the id of contributor
* relax the version of mmcv
* Add ResNet Strikes Back
* Update README_zh-CN.md
* Update README.md
* fix typo
* Update README_zh-CN.md
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
* Add coco dataset download script
You can use command "python tools/download.py --win --unzip" to download coco dataset.
Linux for using command "python tools/download.py --unzip"
* Add coco dataset download script
* Add coco dataset download script
* Add coco dataset download script
* add some notes and modify dataset urls
* add some notes and modify dataset urls
* remove some useless lines and modify urls list to dict
* add urls of lvis and voc, and delete --win
* add parse_args()
* Add documentation of this tool in docs/en/1_exist_data_model.md, docs/zh_cn/1_exist_data_model.md and docs/en/useful_tools.md.
* add a link
* Download files regardless of system。
* Use get() of dict
* add empty line above the code block
* Update useful_tools.md
Co-authored-by: q3394101 <92794867+q3394101@users.noreply.github.com>
Co-authored-by: q3394101 <3394101@qq.com>
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>
* Update customize_models.md
* Update customize_models.md
* Update customize_models.md
* fix some problems based on review
* fix a wrong word
* [Fix] fix some wrong description
* Clearer verification of installation
Increase the clarity of the installation process by downloading the model used in the verification sample code.
* Fix spelling mistake
Foxed spelling mistake in verification subsection
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* Fix mosaic repr typo (#6523)
* Include mmflow in readme (#6545)
* Include mmflow in readme
* Include mmflow in README_zh-CN
* Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py.
* Make OHEM work with seesaw loss (#6514)
* [Enhance] Support file_client in Datasets and evaluating panoptic results on Ceph (#6489)
* first version
* Replace with our api
* Add copyright
* Move the runtime error to multi_core interface
* Add docstring
* Fix comments
* Add comments
* Add unit test for pq_compute_single_core
* Fix MMDetection model to ONNX command (#6558)
* Update README.md (#6567)
* [Feature] Support custom persistent_workers (#6435)
* Fix aug test error when the number of prediction bboxes is 0 (#6398)
* Fix aug test error when the number of prediction bboxes is 0
* test
* test
* fix lint
* Support custom pin_memory and persistent_workers
* fix comment
* fix docstr
* remove pin_memory
* Fix SSD512 config error (#6574)
* Fix mosaic repr typo (#6523)
* Include mmflow in readme (#6545)
* Include mmflow in readme
* Include mmflow in README_zh-CN
* Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py.
* Make OHEM work with seesaw loss (#6514)
* Fix ssd512 config error
Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com>
Co-authored-by: Czm369 <40661020+Czm369@users.noreply.github.com>
Co-authored-by: ohwi <supebulous@gmail.com>
* Catch symlink failure on Windows (#6482)
* Catch symlink failure on Windows
Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com>
* Set copy mode on Windows
Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com>
* Fix lint
Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com>
* Fix logic error
Signed-off-by: del-zhenwu <dele.zhenwu@gmail.com>
* [Feature] Support Label Assignment Distillation (LAD) (#6342)
* add LAD
* inherit LAD from KnowledgeDistillationSingleStageDetector
* add configs/lad/lad_r101_paa_r50_fpn_coco_1x.py
* update LAD readme
* update configs/lad/README.md
* try not to use abbreviations for variable names
* add unittest for lad_head
* update test_lad_head
* remove main in tests/test_models/test_dense_heads/test_lad_head.py
* [Fix] Avoid infinite GPU waiting in dist training (#6501)
* [#6495] fix infinite GPU waiting in dist training
* print log_vars keys in assertion msg
* linting issue
* Support to collect the best models (#6560)
* Fix mosaic repr typo (#6523)
* Include mmflow in readme (#6545)
* Include mmflow in readme
* Include mmflow in README_zh-CN
* Add mmflow url into the document menu in docs/conf.py and docs_zh-CN/conf.py.
* Make OHEM work with seesaw loss (#6514)
* update
* support gather best model
Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com>
Co-authored-by: Czm369 <40661020+Czm369@users.noreply.github.com>
Co-authored-by: ohwi <supebulous@gmail.com>
* [Enhance]: Optimize augmentation pipeline to speed up training. (#6442)
* Refactor YOLOX (#6443)
* Fix aug test error when the number of prediction bboxes is 0 (#6398)
* Fix aug test error when the number of prediction bboxes is 0
* test
* test
* fix lint
* Support custom pin_memory and persistent_workers
* [Docs] Chinese version of robustness_benchmarking.md (#6375)
* Chinese version of robustness_benchmarking.md
* Update docs_zh-CN/robustness_benchmarking.md
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* Update docs_zh-CN/robustness_benchmarking.md
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* Update docs_zh-CN/robustness_benchmarking.md
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* Update docs_zh-CN/robustness_benchmarking.md
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* Update docs_zh-CN/robustness_benchmarking.md
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* Update docs_zh-CN/robustness_benchmarking.md
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* Update robustness_benchmarking.md
* Update robustness_benchmarking.md
* Update robustness_benchmarking.md
* Update robustness_benchmarking.md
* Update robustness_benchmarking.md
* Update robustness_benchmarking.md
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
* update yolox_s
* update yolox_s
* support dynamic eval interval
* fix some error
* support ceph
* fix none error
* fix batch error
* replace resize
* fix comment
* fix docstr
* Update the link of checkpoints (#6460)
* [Feature]: Support plot confusion matrix. (#6344)
* remove pin_memory
* update
* fix unittest
* update cfg
* fix error
* add unittest
* [Fix] Fix SpatialReductionAttention in PVT. (#6488)
* [Fix] Fix SpatialReductionAttention in PVT
* Add warning
* Save coco summarize print information to logger (#6505)
* Fix type error in 2_new_data_mode (#6469)
* Always map location to cpu when load checkpoint (#6405)
* configs: update groie README (#6401)
Signed-off-by: Leonardo Rossi <leonardo.rossi@unipr.it>
* [Fix] fix config path in docs (#6396)
* [Enchance] Set a random seed when the user does not set a seed. (#6457)
* fix random seed bug
* add comment
* enchance random seed
* rename
Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn>
* [BugFixed] fix wrong trunc_normal_init use (#6432)
* fix wrong trunc_normal_init use
* fix wrong trunc_normal_init use
* fix#6446
Co-authored-by: Uno Wu <st9007a@gmail.com>
Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it>
Co-authored-by: BigDong <yudongwang@tju.edu.cn>
Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>
Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn>
Co-authored-by: Shusheng Yang <shusheng.yang@qq.com>
* bump version to v2.18.1 (#6510)
* bump version to v2.18.1
* Update changelog.md
* add some comment
* fix some comment
* update readme
* fix lint
* add reduce mean
* update
* update readme
* update params
Co-authored-by: Cedric Luo <luochunhua1996@outlook.com>
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
Co-authored-by: Guangchen Lin <347630870@qq.com>
Co-authored-by: Andrea Panizza <8233615+AndreaPi@users.noreply.github.com>
Co-authored-by: Uno Wu <st9007a@gmail.com>
Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it>
Co-authored-by: BigDong <yudongwang@tju.edu.cn>
Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn>
Co-authored-by: Shusheng Yang <shusheng.yang@qq.com>
* [Refactor] Remove some code in `mmdet/apis/train.py` (#6576)
* remove some code about custom hooks in apis/train.py
* files were modified by yapf
* Fix lad repeatedly output warning message (#6584)
* update faq docs
* update
* update
* update
* fix lint
* update
* update
* update
* update readme
* Rephrase
Co-authored-by: Kyungmin Lee <30465912+lkm2835@users.noreply.github.com>
Co-authored-by: Czm369 <40661020+Czm369@users.noreply.github.com>
Co-authored-by: ohwi <supebulous@gmail.com>
Co-authored-by: Guangchen Lin <347630870@qq.com>
Co-authored-by: Rishit Dagli <rishit.dagli@gmail.com>
Co-authored-by: RangiLyu <lyuchqi@gmail.com>
Co-authored-by: del-zhenwu <dele.zhenwu@gmail.com>
Co-authored-by: Thuy Ng <thuypn9a4@gmail.com>
Co-authored-by: Han Zhang <623606860@qq.com>
Co-authored-by: Cedric Luo <luochunhua1996@outlook.com>
Co-authored-by: Andrea Panizza <8233615+AndreaPi@users.noreply.github.com>
Co-authored-by: Uno Wu <st9007a@gmail.com>
Co-authored-by: Leonardo Rossi <leonardo.rossi@unipr.it>
Co-authored-by: BigDong <yudongwang@tju.edu.cn>
Co-authored-by: Haobo Yuan <yuanhaobo@whu.edu.cn>
Co-authored-by: Shusheng Yang <shusheng.yang@qq.com>
Co-authored-by: Wenwei Zhang <40779233+ZwwWayne@users.noreply.github.com>