Commit Graph

379 Commits (6b52f81c07999bce2c6b2485c6e969ea8491be4d)
 

Author SHA1 Message Date
tianlei 66c80e91e1
[Doc] update the English version of `custom_dataset.md` (#381)
* part_1

* [WIP][Doc]update the part of 1. Prepare dataset

* update to 5. create a new config file

* update to 9.2 perform training

* add pre-commit

* 下一次更新内容

* update to 11.1.2 Creating a Docker container

* add pre-commit

* all updates complete!

* Update docs/en/user_guides/custom_dataset.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update docs/en/user_guides/custom_dataset.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update docs/en/user_guides/custom_dataset.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* modify en

* Update docs/en/user_guides/custom_dataset.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update docs/en/user_guides/custom_dataset.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* sync:Refactor dataset metainfo to lowercase

* Update docs/en/user_guides/custom_dataset.md

Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>

* Update docs/en/user_guides/custom_dataset.md

Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>
Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>
2022-12-28 20:22:10 +08:00
kitecats d0a8aaa284
[CodeCamp] Add don't used pre-training weights to how_to (#404)
* Add Don't used pre-training weights to how_to

* refine docs of how_to

* refine doc of how_to

Co-authored-by: Range King <RangeKingHZ@gmail.com>

* refine the doc

* refine the doc

Co-authored-by: Range King <RangeKingHZ@gmail.com>
2022-12-28 17:00:29 +08:00
Nioolek 9ef883187a
[Feature] Show YOLOv5 assigner results (#383)
* init commit

* init commit

* init commit

* 定稿,开始重构

* format code

* format code

* add typehint and doc

* init commit

* init commit

* init commit

* 定稿,开始重构

* format code

* format code

* add typehint and doc

* format code

* rollback

* add doc

* fix less img bug

* format code

* format code

* add README.md

* beauty

* beauty

* uniform name

* uniform name

* uniform name

* uniform name
2022-12-28 16:40:14 +08:00
Range King bb4aea90da
[Refactor] Refactor dataset metainfo to lowercase (#362)
* [Refactor] Refactor dataset metainfo to lowercase.

* Add docs

* Refactor metainfo to lowercase in new files

* Fix dataset meta compatibility
2022-12-27 21:19:39 +08:00
tripleMu 81b7942de1
[Feature] Support `iscrowd` attribute training in YOLOv5 (#260)
* [Feature] Support YOLOv7 inference (#149)

* update

* update

* update

* update

* update

* add docstr

* fix comments

* update

* [Feature] support mmyolo deployment (#79)

* support mmyolo deployment

* mv deploy place

* remove unused configs

* add deploy code

* fix new register

* fix comments

* fix dependent codebase register

* remove unused initialize

* refact deploy config

* credit return to triplemu

* Add yolov5 head rewrite

* refactor deploy

* refactor deploy

* Add yolov5 head rewrite

* fix configs

* refact config

* fix comment

* sync name after mmdeploy 1088

* fix mmyolo

* fix yapf

* fix deploy config

* try to fix flake8 importlib-metadata

* add mmyolo models ut

* add deploy uts

* add deploy uts

* fix trt dynamic error

* fix multi-batch for dynamic batch value

* fix mode

* fix lint

* sync model.py

* add ci for deploy test

* fix ci

* fix ci

* fix ci

* extract script to command for fixing CI

* fix cmake for CI

* sudo ln

* move ort position

* remove unused sdk compile

* cd mmdeploy

* simplify build

* add missing make

* change order

* add -v

* add setuptools

* get locate

* get locate

* upgrade torch

* change torchvision  version

* fix config

* fix ci

* fix ci

* fix lint

Co-authored-by: tripleMu <gpu@163.com>
Co-authored-by: RunningLeon <mnsheng@yeah.net>

* [Feature] Support YOLOv5 YOLOv6  YOLOX Deploy in mmdeploy (#199)

* Support YOLOv5 YOLOv6 YOLOX Deploy in mmdeploy

* Fix lint

* Rename _class to detector_type

* Add some common

* fix lint

Co-authored-by: huanghaian <huanghaian@sensetime.com>

* [DOC] Add deploy guide doc (#220)

* Add deploy doc-0

* Update 部署必备指南.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update 部署必备指南.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update 部署必备指南.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update 部署必备指南.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update 部署必备指南.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update 部署必备指南.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update 部署必备指南.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update 部署必备指南.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update 部署必备指南.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Del unused line

* Add docs

* Fix

* Fix

* Rename docs

* Rename docs

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* [Feautre] Add deploy dockerfile (#224)

* Add dockerfile for deploy

* Fix

* Update docker/Dockerfile_deployment

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update docker/Dockerfile_deployment

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Add opencv old version

* Add dockerfile and fix some typo

* Remove repeat packages

* Fix undefined symbol bug

* Update docker/Dockerfile_deployment

Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>

* Update docker/Dockerfile_deployment

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Add docs for deploy dockerfile

* Fix typo

* Update docs/zh_cn/advanced_guides/yolov5_deploy.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Add profiler

* Update docs/zh_cn/advanced_guides/yolov5_deploy.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update docker/Dockerfile_deployment

Co-authored-by: Range King <RangeKingHZ@gmail.com>

* Remove mmcv-full

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>
Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>
Co-authored-by: Range King <RangeKingHZ@gmail.com>

* Add changelog of v0.1.2 (#226)

* Add changelog of v0.1.2

* update version

* fix comments

* fix comments

* update

* update version

* update version

* Support ignore

Cal loss with ignore

Typo

Fix import from mmdet

Fix train_cfg is None

* Fix judgement

* Fix bug and add a demo config

* Add new config

* remove

* rm

* remove loadanno

* Try 0

* Try-2

* fix

* add avg_factor

* update

* support rectangle training

* add ignore cfg

* update

* delete

* Fix

* Add unitest

* Add ignore_iof_thr

* Add test

Co-authored-by: Haian Huang(深度眸) <huanghaian@pjlab.org.cn>
Co-authored-by: hanrui1sensetime <83800577+hanrui1sensetime@users.noreply.github.com>
Co-authored-by: RunningLeon <mnsheng@yeah.net>
Co-authored-by: huanghaian <huanghaian@sensetime.com>
Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>
Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>
Co-authored-by: Range King <RangeKingHZ@gmail.com>
2022-12-27 14:18:10 +08:00
caj-github 929b403fb0
Fix RuntimeError of `torch.cat()` expected a non-empty list of Tensors (#376)
* RuntimeError: torch.cat(): expected a non-empty list of Tensors

* blank

* fix lint

* update

Co-authored-by: hha <1286304229@qq.com>
2022-12-27 12:01:10 +08:00
zhubochao 6c5acd238c
Fix the device inconsistency error in yolov7 training (#397)
* [FIX] Indices should be either on cpu or on the same device as the indexed tensor

* fix lint error

* use new_full instead of simple torch.ones

* fix lint error

* fix type error

* use existed tensor to create new_full tensor

Co-authored-by: zhubochao <zhubochao@zhubochaodeMacBook-Pro.local>
2022-12-27 11:54:28 +08:00
tang576225574 46e7f6a477
[BUG] Fix the scale_factor and pad_param value in LetterResize (#387)
* correct the scale_factor and pad_param value in LetterResize

* correct the scale_factor and pad_param value in LetterResize

* correct the scale_factor and pad_param value in LetterResize

* tang

* update

Co-authored-by: hha <1286304229@qq.com>
2022-12-27 11:45:23 +08:00
lvhan028 cccc792b94
remove 'context' argument from the rewriter function to 'YOLOv5Head.predict_by_feat' since mmdeploy has refactored it (#395) 2022-12-27 11:07:08 +08:00
Xin Li ab5665e840
update base v6 config name (#398) 2022-12-27 11:01:17 +08:00
Range King 25aa2a9cab
[Fix] Fix docstring graph rendering error of readthedocs (#400)
* fix graph rendering of readthedocs

* Update base_yolo_neck.py
2022-12-26 21:03:20 +08:00
Youfu b012154c10
CodeCamp #1519 [Docs] add yolox structure description (#402)
* add yolox structure description

* Update configs/yolox/README.md

Co-authored-by: Range King <RangeKingHZ@gmail.com>

Co-authored-by: Range King <RangeKingHZ@gmail.com>
2022-12-26 14:15:23 +08:00
Range King e00c3439f8
deprecating np.bool type alias (#396) 2022-12-21 10:11:13 +08:00
Yue WANG 王跃 1a0dfb0203
[Enhance]: Add resume from specific checkpoint in CLI (#393) 2022-12-20 10:25:19 +08:00
Range King ec367dba12
[Feature] Add a feature for the video demo (#392)
* Create demo.mp4

* Create video_demo.py

* Update large_image_demo.py
2022-12-19 19:49:41 +08:00
HinGwenWoong 446dfbd4b9
Add raise when class is blank or space between words (#391) 2022-12-19 16:55:33 +08:00
HinGwenWoong e0128c2dbd
[BUG] Fix YOLOv6 when get grid priors in `predict_by_feat` same shape will crash (#378)
* [BUG] Fix with_stride

* [BUG] Fix with_stride

* [BUG] Fix with_stride

* [BUG] Fix with_stride

* [BUG] Fix with_stride

* A better to fix

* A better way

* A better way

* A better way

* A better way

* A better way

* A better way
2022-12-19 14:40:04 +08:00
Range King d03dc0bfb5
[Docs] Add docs about how to set the random seed (#386)
* how to set seed

* minor fix
2022-12-19 14:17:44 +08:00
Range King 051d30a41a
[Fix] Fix CI error due to `np.int` and legacy builder.py (#389)
* Update utils.py

* fix docs

* Remove legacy build_detector

* Update test.yml

* fix error
2022-12-19 14:15:58 +08:00
WANG Tengfei 2d5485f713
[CodeCamp] Add module_combination doc (#352)
* [CodeCamp] Add module_combination doc
 * fix init_weights not match num_base_priors

 * add module_combination about yolov5 using other model loss

* Update module_combination.md

* [CodeCamp] Add module_combination doc
* update

* [CodeCamp] Add module_combination doc
2022-12-17 10:37:53 +08:00
Zhaoyan Fang 14d6922b99
[CodeCamp] Add doc of yolov6_description.md (#372)
* add assigner and loss description in yolov6_description.md

* Update docs/zh_cn/algorithm_descriptions/yolov6_description.md

Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>

* Update docs/zh_cn/algorithm_descriptions/yolov6_description.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update docs/zh_cn/algorithm_descriptions/yolov6_description.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* Update docs/zh_cn/algorithm_descriptions/yolov6_description.md

Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>

* Update docs/zh_cn/algorithm_descriptions/yolov6_description.md

Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>

* update

* update

* update

Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>
Co-authored-by: HinGwenWoong <peterhuang0323@qq.com>
2022-12-17 10:37:02 +08:00
Haian Huang(深度眸) 8cf8ab9ca3
[Feature] Add `crowdhuman` dataset (#368)
* add crowdhuman dataset

* update

* update anhchor

* add pretrain link

* fix name

* remove batch_shapes_cfg

* add readme

* update readme

* update readme
2022-12-15 16:37:09 +08:00
kitecats 70444f4d5c
[CodeCamp] Add doc of `module_combination` (#345)
* [CodeMap]Add doc of module_combination

* refine doc

* refine doc

* update doc
2022-12-15 13:00:08 +08:00
HinGwenWoong 00b138a184
[DOC] Add new video link for `custom dataset` (#365)
* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link

* Add new video link
2022-12-14 10:07:17 +08:00
q.yao d640e7b310
[Fix] Fix mmdeploy rewriter (#366)
* fix mmdeploy rewriter

* fix unit test
2022-12-14 09:59:32 +08:00
tianlei ac34b80e38
CodeCamp #58 [Doc] translate `rtmdet_description.md` of data aug part (#353)
* CodeCamp #58 [Doc] translate rtmdet_description.md

* update the part of data augmentation

* update the part of 1.1.1

* add pre-commit

* Update docs/en/algorithm_descriptions/rtmdet_description.md

Co-authored-by: Range King <RangeKingHZ@gmail.com>

* Update docs/en/algorithm_descriptions/rtmdet_description.md

Co-authored-by: Range King <RangeKingHZ@gmail.com>

* Update docs/en/algorithm_descriptions/rtmdet_description.md

Co-authored-by: Range King <RangeKingHZ@gmail.com>

* Complete data augmentation

* Add torch1.13 checking in CI

* add pre-commit

Co-authored-by: Range King <RangeKingHZ@gmail.com>
2022-12-13 15:10:01 +08:00
tripleMu 6fd50af6ab
Export onnx for model only (#361)
* Support export onnx for model only

* Fix

* Fix
2022-12-13 15:06:59 +08:00
tianlei e7ff6fcbf0
Add torch1.13 checking in CI (#363) 2022-12-12 15:49:54 +08:00
RunningLeon dcf73091e5
add mmyolo regression test yml (#359) 2022-12-12 10:27:21 +08:00
Range King 21be0c4c68
Add some docstring (#360) 2022-12-12 10:23:58 +08:00
HinGwenWoong 2bf502b13c
[Improvement] Improve doc `custom_dataset` (#336)
* Improve doc

* Improve doc

* Add config

* Add config

* Add config

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc index

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Add deploy demo

* Improve doc

* Fix lint

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve code

* Improve code

* Improve code

* Improve code

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc
2022-12-12 10:16:03 +08:00
hanrui1sensetime a20d3c14fc
fix mmyolo unittest scope bug (#351) 2022-12-08 11:45:54 +08:00
Haian Huang(深度眸) e57edb65c6
fix pad_param error (#354) 2022-12-08 11:45:22 +08:00
Yue WANG 王跃 0e28babbee
[Docs] Update video tutorials in article.md (#350)
* Update article.md

* Update article.md
2022-12-07 18:52:09 +08:00
HinGwenWoong 91489bf065
[Feature] Add deploy demo (#343)
* [Feature] Add deploy demo

* [Feature] Add deploy demo

* [Feature] Add deploy demo

* [Feature] Add deploy demo
2022-12-06 18:53:26 +08:00
Haian Huang(深度眸) 92fd724e87
[Enhancement] Optimize the vis results of large images in `debug` mode (#346)
* Optimize the vis results of large images in debug mode

* to test

* to test

* remove

* update

* update
2022-12-06 18:47:43 +08:00
HinGwenWoong 78a23ca8b9
[Fix] Fix `dataset_analysis` ProgressBar incorrect when `RepeatDataset` (#338)
* Fix ProgressBar incorrect when RepeatDataset

* Fix lint

* Improve doc

* Improve doc

* Improve import

* Fix hard code

* Fix hard code
2022-12-06 10:21:41 +08:00
HinGwenWoong 46b2494453
[Improvement] Improve args for `browse_dataset` and supprot `RepeatDataset` (#340)
* Improve doc and Fix bug

* Fix hard code

* Fix hard code

* Update browse_dataset.py
2022-12-06 10:19:49 +08:00
Nioolek 12e8f0ea07
fix twice head inference bug (#342) 2022-12-06 10:18:58 +08:00
HinGwenWoong e3d95069ef
[Improvement] Improve args for `tools/analysis_tools/optimize_anchors.py` (#339)
* Improve args

* Improve doc

* Improve doc

* Improve doc
2022-12-04 17:18:33 +08:00
CaiLiYuan 9985e0bc08
Update yolov7_l_syncbn_fast_8x16b-300e_coco.py (#333)
change:model->bbox_head->head_module->dict(num_classes=num_classes)
2022-12-02 16:31:27 +08:00
Haian Huang(深度眸) 27487fd587
Merge pull request #331 from open-mmlab/dev
Bump version to v0.2.0
2022-12-01 11:14:19 +08:00
Haian Huang(深度眸) 4e8dac5fff
add changelog of v0.2.0 (#323)
* add changelog v0.2.0

* update

* update

* update

* update

* update
2022-12-01 10:54:44 +08:00
MingJian.L 1f06f4f594
[Improvement] `browse_dataset.py` (#304)
* Create browse_transform.py

Upgrate the brow_transform
对pipeline中的transform过程实现了可视化,以及可以将transform中key参数的变化打印出来。

* Update browse_dataset.py

* Delete browse_transform.py

* Update browse_dataset.py

* Update browse_dataset.py

* Update browse_dataset.py

* Update browse_dataset.py

* Update browse_dataset.py

* Update browse_dataset.py

* Update browse_dataset.py

* Update browse_dataset.py

* Update browse_dataset.py

修改了215行result_i = [result['dataset_sample'] for result in intermediate_imgs]通过lint

* fix some error

Co-authored-by: huanghaian <huanghaian@sensetime.com>
2022-12-01 10:26:00 +08:00
Range King 98e6fcccc7
[Docs] Update EN `how_to.md` with the examples of mim (#330)
* Update en how_to

* fix typos in zh_cn how_to
2022-11-30 19:28:42 +08:00
Range King 7431231d87
[Docs] Add docs about how to use mim to run scripts across libraries (#321)
* Update how_to.md

* Update how_to.md

* Update useful_tools.md

* Update useful_tools.md

* Update how_to.md
2022-11-30 19:03:02 +08:00
HinGwenWoong b8afd0055d
[DOC] Add custom dataset guide (#306)
* Add doc

* Add doc

* Add doc

* Add doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve config

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc config

* Improve doc config

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc

* Improve doc
2022-11-30 18:58:43 +08:00
Haian Huang(深度眸) e85ddeac0d
[Feature] Support YOLOv7 P6 training (#310)
* support p6 train

* fix bug

* add readme

* add link
2022-11-30 18:45:08 +08:00
hanrui1sensetime 4a8699d6fe
[Fix] Enable switch to deploy when create pytorch model in deployment. (#324)
* support switch_to_deploy when deploy

* fix docformatter

* fix README for yolox shape
2022-11-29 18:23:12 +08:00
AllentDan 68c9fd4745
[Feature] Support YOLOv5 deployment at RV1126 device (#262)
* add yolov5 head rewrite and rknn config

* type hint

* remove useless

* refactor config
2022-11-29 16:54:08 +08:00