471 Commits

Author SHA1 Message Date
ac3c30a1d2 add data folder and update gitignore
Some checks failed
build / build_cpu (3.7, 1.5.1, torch1.5, 0.6.1) (push) Has been cancelled
build / build_cpu (3.7, 1.6.0, torch1.6, 0.7.0) (push) Has been cancelled
build / build_cpu (3.7, 1.7.0, torch1.7, 0.8.1) (push) Has been cancelled
build / build_cpu (3.7, 1.8.0, torch1.8, 0.9.0) (push) Has been cancelled
build / build_cpu (3.7, 1.9.0, torch1.9, 0.10.0) (push) Has been cancelled
build / build_cuda101 (3.7, 1.5.1+cu101, torch1.5, 0.6.1+cu101) (push) Has been cancelled
build / build_cuda101 (3.7, 1.6.0+cu101, torch1.6, 0.7.0+cu101) (push) Has been cancelled
build / build_cuda101 (3.7, 1.7.0+cu101, torch1.7, 0.8.1+cu101) (push) Has been cancelled
build / build_cuda101 (3.7, 1.8.0+cu101, torch1.8, 0.9.0+cu101) (push) Has been cancelled
build / build_cuda102 (3.6, 1.9.0+cu102, torch1.9, 0.10.0+cu102) (push) Has been cancelled
build / build_cuda102 (3.7, 1.9.0+cu102, torch1.9, 0.10.0+cu102) (push) Has been cancelled
build / build_cuda102 (3.8, 1.9.0+cu102, torch1.9, 0.10.0+cu102) (push) Has been cancelled
build / build_cuda102 (3.9, 1.9.0+cu102, torch1.9, 0.10.0+cu102) (push) Has been cancelled
build / test_windows (windows-2022, cpu, 3.8) (push) Has been cancelled
build / test_windows (windows-2022, cu111, 3.8) (push) Has been cancelled
deploy / build-n-publish (push) Has been cancelled
lint / lint (push) Has been cancelled
2026-03-18 17:57:51 +08:00
bb177d286a 更新 README.md
Some checks failed
deploy / build-n-publish (push) Has been cancelled
lint / lint (push) Has been cancelled
2026-03-18 09:41:53 +00:00
fbd65df831 更新 README.md
Some checks failed
deploy / build-n-publish (push) Has been cancelled
lint / lint (push) Has been cancelled
2026-03-18 09:18:15 +00:00
af9fcab904 更新 README.md
Some checks failed
deploy / build-n-publish (push) Has been cancelled
lint / lint (push) Has been cancelled
2026-03-18 09:09:29 +00:00
7716a0060f feat: add golf dataset, kneron configs, and tools
Some checks failed
deploy / build-n-publish (push) Has been cancelled
lint / lint (push) Has been cancelled
build / build_cpu (3.7, 1.5.1, torch1.5, 0.6.1) (push) Has been cancelled
build / build_cpu (3.7, 1.6.0, torch1.6, 0.7.0) (push) Has been cancelled
build / build_cpu (3.7, 1.7.0, torch1.7, 0.8.1) (push) Has been cancelled
build / build_cpu (3.7, 1.8.0, torch1.8, 0.9.0) (push) Has been cancelled
build / build_cpu (3.7, 1.9.0, torch1.9, 0.10.0) (push) Has been cancelled
build / build_cuda101 (3.7, 1.5.1+cu101, torch1.5, 0.6.1+cu101) (push) Has been cancelled
build / build_cuda101 (3.7, 1.6.0+cu101, torch1.6, 0.7.0+cu101) (push) Has been cancelled
build / build_cuda101 (3.7, 1.7.0+cu101, torch1.7, 0.8.1+cu101) (push) Has been cancelled
build / build_cuda101 (3.7, 1.8.0+cu101, torch1.8, 0.9.0+cu101) (push) Has been cancelled
build / build_cuda102 (3.6, 1.9.0+cu102, torch1.9, 0.10.0+cu102) (push) Has been cancelled
build / build_cuda102 (3.7, 1.9.0+cu102, torch1.9, 0.10.0+cu102) (push) Has been cancelled
build / build_cuda102 (3.8, 1.9.0+cu102, torch1.9, 0.10.0+cu102) (push) Has been cancelled
build / build_cuda102 (3.9, 1.9.0+cu102, torch1.9, 0.10.0+cu102) (push) Has been cancelled
build / test_windows (windows-2022, cpu, 3.8) (push) Has been cancelled
build / test_windows (windows-2022, cu111, 3.8) (push) Has been cancelled
- Add golf1/2/4/7/8 dataset classes for semantic segmentation
- Add kneron-specific configs (meconfig series, kn_stdc1_golf4class)
- Organize scripts into tools/check/ and tools/kneron/
- Add kneron_preprocessing module
- Update README with quick-start guide
- Update .gitignore to exclude data dirs, onnx, nef outputs

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 13:14:30 +08:00
Chingning Chen
793c3a5bb0 doc: Update stdc_step_by_step.md 2022-05-05 22:09:25 +08:00
EricChunYi
0129e58d1f doc: update stdc step by step 2022-05-05 22:09:25 +08:00
chingning.chen
d368a79bf8 test: add coverage 2022-05-05 22:09:25 +08:00
chingning.chen
b135e1b950 test: add placeholder for kneron tests 2022-05-05 22:09:25 +08:00
chingning.chen
a1b28fc4fa fix: pytest cmd 2022-05-05 22:09:25 +08:00
chingning.chen
acb2f933f0 test: add doc coverage test 2022-05-05 22:09:25 +08:00
chingning.chen
0d8de455de workaround: known fail for BEiT.resize_rel_pos_embed 2022-05-05 22:09:25 +08:00
chingning.chen
1a17ac60c6 test: update .gitlab-ci.yml for pytest 2022-05-05 22:09:25 +08:00
chingning.chen
b94d0f818e chore: add kneron email to author_email 2022-05-05 22:09:25 +08:00
Miao Zheng
cd39726167 Bump version to v0.23.0 (#1439)
* Bump version to v0.23.0

* new contributor

* rephrase

* tyoi

* typo

* get_started

* typo

* rephrase

* rephrase

* rephrase
2022-05-05 22:09:25 +08:00
MengzhangLI
03b697c5c9 [Fix] Fix some wrong urls of models or log in ./configs (#1433) 2022-05-05 22:09:25 +08:00
MengzhangLI
72fa595f90 [Fix] Add avg_non_ignore in cross entropy loss (#1409)
* [Fix] Add avg_non_ignore in cross entropy loss

* [Fix] Add avg_non_ignore in cross entropy loss

* add docstring

* fix ut

* fix docstring and comments

* fix

* fix bce

* fix avg_factor in BCE and add more ut

* add avg_non_ignore

* add more ut

* fix part of ut

* fix part of ut

* test avg_non_ignore would not affect ce/bce when reduction none/sum

* test avg_non_ignore would not affect ce/bce when reduction none/sum/mean

* re-organize ut

* re-organize ut

* re-organize ut

* re-organize hardcode case

* fix parts of comments

* fix another parts of comments

* fix
2022-05-05 22:09:25 +08:00
FangjianLin
288a6911ee [Feature] Add BEiT backbone (#1404)
* [Feature] Add BEiT backbone

* fix

* fix

* fix

* fix

* add readme

* fix

* fix

* fix

* fix

* fix

* add link

* fix memory

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix test_beit.py

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2022-05-05 22:09:25 +08:00
Miao Zheng
50761babe5 [Feature] Support dataset initialization with file_client (#1402)
* [Feature] Support file_client in dataset initialization

* docstring

* revise osp.exist
2022-05-05 22:09:25 +08:00
MengzhangLI
37773663d8 [Enchance] Support random seed for distributed sampler (#1411)
* support random seed for distributed sampler

* move mmseg/utils/dist_util.py to mmseg/core/utils/dist_util.py

* move mmseg/utils/dist_util.py to mmseg/core/utils/dist_util.py

* change dist sampler

* change dist sampler

* fix docstring in sync_random_seed
2022-05-05 22:09:25 +08:00
Rockey
40593b0528 [Docs] add faq document (#1420)
* [Docs] add faq document

* Update docs/en/faq.md

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>

* Update docs/zh_cn/faq.md

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>

* modify readme

* modify index.rst

Co-authored-by: Junjun2016 <hejunjun@sjtu.edu.cn>
2022-05-05 22:09:25 +08:00
CCODING
b51bc00e2c fix word spelling mistake (#1424) 2022-05-05 22:09:25 +08:00
Rockey
514c876f00 [Fix] fix the config name style description (#1414) 2022-05-05 22:09:25 +08:00
MengzhangLI
88c3dbea5f [Fix] Fix windows-style path in md2yml.py in Windows pre-commit. (#1407)
* test

* avoid windows path
2022-05-05 22:09:25 +08:00
Xiangxu-0103
ad242705cf fix typo (#1405) 2022-05-05 22:09:25 +08:00
Nemo Xiong
99f19d2b53 colab notebook: fix outdated link for doc (#1392)
* colab notebook: fix outdated link for doc

Fixed outdated link for how to customize your datasets by reorganizing data.

* fix lint
2022-05-05 22:09:25 +08:00
Cody Wong
93dd54136d [Fix] make arguments effective in tools/confusion_matrix.py (#1401)
* add an argument for customizing `title' of the output figure

* fix `color_theme' arguments not passing to plot function

Signed-off-by: code14 <mob5566@gmail.com>
2022-05-05 22:09:25 +08:00
FangjianLin
319b897ea3 [Feature] Add multi machine dist_train. (#1383)
* Add training startup documentation

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2022-05-05 22:09:25 +08:00
CCODING
efb52e3670 Support #1375: add demo/image_demo.py support for STARE (#1376)
* Support #1375: add demo/image_demo.py support for STARE

* Update mmseg/core/evaluation/class_names.py

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>

Co-authored-by: MengzhangLI <mcmong@pku.edu.cn>
2022-05-05 22:09:25 +08:00
wangliujun
08ee236106 Update get_flops.py (#1371)
* Update get_flops.py

argparse.ArgumentParser(description='Get the FLOPs of a segmentor')

* Update get_flops.py
2022-05-05 22:09:25 +08:00
Rockey
43a6c0d5d7 [Feature] add nlc2nchw2nlc and nchw2nlc2nchw (#1249)
* [Feature] add nlc2nchw2nlc and nchw2nlc2nchw

* add example

* add test, add **kwargs to make it more universal
2022-05-05 22:09:25 +08:00
andife
339080b731 Update MMSegmentation_Tutorial.ipynb (#1366)
typos
2022-05-05 22:09:25 +08:00
MengzhangLI
ccde056f8e [Feature] Support K-Net (#1289)
* knet first commit

* fix import error in knet

* remove kernel update head from decoder head

* [Feature] Add kenerl updation for some decoder heads.

* [Feature] Add kenerl updation for some decoder heads.

* directly use forward_feature && modify other 3 decoder heads

* remover kernel_update attr

* delete unnecessary variables in forward function

* delete kernel update function

* delete kernel update function

* delete kernel_generate_head

* add unit test & comments in knet.py

* add copyright to fix lint error

* modify config names of knet

* rename swin-l 640

* upload models&logs and refactor knet_head.py

* modify docstrings and add some ut

* add url, modify docstring and add loss ut

* modify docstrings
2022-05-05 22:09:25 +08:00
Rockey
2313c64fb3 [Feature]: Add diff seeds to diff ranks and set torch seed in worker_init_fn (#1362) 2022-05-05 22:09:25 +08:00
andife
fd8e18847d [Doc] Update config.md (#1363)
Fix typos
2022-05-05 22:09:25 +08:00
MengzhangLI
dfa18f2372 Bump v0.22.1 (#1361) 2022-05-05 22:09:25 +08:00
Rockey
70d7bbd198 [Fix] Fix the bug that when all pixels in an image is ignored, the ac… (#1336)
* [Fix] Fix the bug that when all pixels in an image is ignored, the accuracy calculation raises ZeroDivisionError

* use eps

* all close

* add ignore test

* add eps
2022-05-05 22:09:25 +08:00
MengzhangLI
50c80aa6f2 [Feature] Provide URLs of STDC, Segmenter and Twins pretrained models (#1357) 2022-05-05 22:09:25 +08:00
MengzhangLI
c5ebd741b5 [Docs] Change ConvNeXt journal infomation (#1350) 2022-05-05 22:09:25 +08:00
Miao Zheng
dccd16fc77 [Docs] fix typo in changelog (#1349) 2022-05-05 22:09:25 +08:00
MengzhangLI
6256e93366 Bump v0.22.0 (#1347)
* change version to v0.22.0

* change version to v0.22.0

* add mmcls version in get_started.md

* add mmcls installation and move PR1299 into enhancement

* add mmcls installation and move PR1299 into enhancement

* remove MMCLS and make mmcv <=1.5.0 version in get_started.md

* fix typo
2022-05-05 22:09:25 +08:00
MengzhangLI
d21682da79 [Feature] Support ConvNext (#1216)
* upload original backbone and configs

* ConvNext Refactor

* ConvNext Refactor

* convnext customization refactor with mmseg style

* convnext customization refactor with mmseg style

* add ade20k_640x640.py

* upload files for training

* delete dist_optimizer_hook and remove layer_decay_optimizer_constructor

* check max(out_indices) < num_stages

* add unittest

* fix lint error

* use MMClassification backbone

* fix bugs in base_1k

* add mmcls in requirements/mminstall.txt

* add mmcls in requirements/mminstall.txt

* fix drop_path_rate and layer_scale_init_value

* use logger.info instead of print

* add mmcls in runtime.txt

* fix f string && delete

* add doctring in LearningRateDecayOptimizerConstructor and fix mmcls version in requirements

* fix typo in LearningRateDecayOptimizerConstructor

* use ConvNext models in unit test for LearningRateDecayOptimizerConstructor

* add unit test

* fix typo

* fix typo

* add layer_wise and fix redundant backbone.downsample_norm in it

* fix unit test

* give a ground truth lr_scale and weight_decay

* upload models and readme

* delete 'backbone.stem_norm' and 'backbone.downsample_norm' in get_num_layer()

* fix unit test and use mmcls url

* update md2yml.py and metafile

* fix typo
2022-05-05 22:09:25 +08:00
Hyeokjoon Kwon
23738751bb [Feature] Generating and plotting confusion matrix (#1301)
* generate and plot confusion matrix

* fix typo

* add usage and examples for confusion matrix

* deal with nan values(pick pr#7147 mmdet)

* fix md format
2022-05-05 22:09:25 +08:00
FangjianLin
a883eedd75 [Feature] Add min_size arg in Resize to keep the shape after resize bigger than slide window (#1318)
* [Feature] add setr_resize

* fix a bug

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2022-05-05 22:09:25 +08:00
sshuair
c52a766e69 fix dnl_head export onnx inference difference type Cast error (#1161)
* fix export onnx inference difference type Cast error

* fix export onnx inference difference type Cast error.

* use yapf format

* use same device type with pairwise_weight
2022-05-05 22:09:25 +08:00
MengzhangLI
584278e215 [Fix] Upload complete STDC models (#1332) 2022-05-05 22:09:25 +08:00
Miao Zheng
64c4192980 [Docs] Reorganizing OpenMMLab projects in readme (#1320) 2022-05-05 22:09:25 +08:00
MengzhangLI
8eec8dfe09 [Feature] Support kenerl updation for some decoder heads. (#1299)
* [Feature] Add kenerl updation for some decoder heads.

* [Feature] Add kenerl updation for some decoder heads.

* directly use forward_feature && modify other 3 decoder heads

* remover kernel_update attr

* delete unnecessary variables in forward function

* delete kernel update function

* delete kernel update function

* delete unnecessary docstrings

* modify comments in self._forward_feature()

* modify docstrings in self._forward_feature()

* fix docstring

* modify uperhead
2022-05-05 22:09:25 +08:00
Miao Zheng
f2ecbe64be Add deprecation message for deploy tool (#1321)
* Add deprecation message for deploy tool

* deploy test
2022-05-05 22:09:25 +08:00
Miao Zheng
54dea9ff70 [Enhancement] Revise pre-commit-hooks (#1315) 2022-05-05 22:09:25 +08:00