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

Mmcv-and-mmcls-compatible #1

Open
wants to merge 75 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
812f3d4
[CI] Add test mim CI. (#879)
mzr1996 Jun 22, 2022
11df205
[Fix] Remove duplicated wide-resnet metafile.
mzr1996 Jul 5, 2022
c03efee
[Feature] Support MPS device. (#894)
mzr1996 Jul 28, 2022
00f0e0d
[Fix] Fix Albu crash bug. (#918)
PeterH0323 Jul 28, 2022
9300cc4
Bump version to 0.23.2. (#937)
mzr1996 Jul 28, 2022
71ef7ba
Merge remote-tracking branch 'origin/dev'
mzr1996 Jul 28, 2022
556fa56
[Feature] Support MViT and add checkpoints. (#924)
mzr1996 Aug 2, 2022
6ec38fe
[Feature] Support Swin Transform V2. (#799)
yingfhu Aug 3, 2022
b5bb86a
[Fix] Fix the output position of Swin-Transformer. (#947)
mzr1996 Aug 3, 2022
1a3d51a
[Feature] Support CSRA head. (#881)
JiayuXu0 Aug 4, 2022
90254a8
[Improve] Use `forward_dummy` to calculate FLOPS. (#953)
twmht Aug 8, 2022
b366897
[Docs] Refine the docstring of RegNet (#935)
timothylimyl Aug 10, 2022
e54cfd6
[Imporve] Using `train_step` instead of `forward` in PreciseBNHook (#…
Ezra-Yu Aug 11, 2022
7b16bcd
[Feature] Support Stanford Cars dataset. (#893)
zzc98 Aug 16, 2022
6474ea2
[Feature] Support EfficientFormer. (#954)
Ezra-Yu Aug 16, 2022
5ad3bed
Merge remote-tracking branch 'origin/master' into dev
mzr1996 Aug 22, 2022
ec71d07
[Improve] Fixed typo in `RepVGG`. (#985)
techmonsterwang Aug 22, 2022
517bd3d
[Fix] Fix device mismatch in Swin-v2. (#976)
a-mos Sep 1, 2022
982cab4
Update README
mzr1996 Sep 7, 2022
6d8c918
[Improve] Upgrade onnxsim to v0.4.0. (#915)
daquexian Sep 13, 2022
0b4a67d
[Refactor] Re-write get_sinusoid_encoding from third-party implementa…
hukkai Sep 13, 2022
8d1bc55
[Docs] Fix typo for wrong reference. (#1036)
Crescent-Saturn Sep 16, 2022
a1b644b
[Doc] Fix typo in tutorial 2 (#1043)
Crescent-Saturn Sep 19, 2022
75ae845
[Docs] Fix a typo in ImageClassifier (#1050)
wangruohui Sep 22, 2022
c94e9b3
[Feature] Update the issue template with more links and emoji. (#1032)
tonysy Sep 26, 2022
6ebb3f7
[Fix] Fix attenstion clamp max params (#1034)
yingfhu Sep 26, 2022
56589ee
[Enhancement] Update VAN. (#1017)
okotaku Sep 27, 2022
1047daa
[Feature] Support HorNet Backbone. (#1013)
okotaku Sep 27, 2022
4d73607
[Fix] Fix config.device bug in toturial. (#1059)
Ezra-Yu Sep 28, 2022
0143e5f
[Fix] val loader should not drop last by default. (#857)
Fei-Wang Sep 28, 2022
8c7b7b1
[Enhance] RepVGG for YOLOX-PAI. (#1025)
okotaku Sep 30, 2022
27b0bd5
[Fix] Add matplotlib minimum version requriments. (#909)
tpoisonooo Sep 30, 2022
2102d09
[Docs] Fixed typo for `--out-dir` option of analyze_results.py. (#898)
jlim262 Sep 30, 2022
4eaaf89
[Docs] Add version for torchvision to avoide error. (#903)
PeterH0323 Sep 30, 2022
1b4e9cd
[Improve] replace loop of progressbar in api/test. (#878)
nijkah Sep 30, 2022
7dca27d
[Fix] Fix warning with `torch.meshgrid`. (#860)
pallgeuer Sep 30, 2022
c5bcd48
[Docs] Fix typo in config.md. (#827)
liu-mengyang Sep 30, 2022
7b45eb1
Bump version to v0.24.0 (#1067)
mzr1996 Sep 30, 2022
91b85bb
Merge remote-tracking branch 'origin/dev'
mzr1996 Sep 30, 2022
bcadb74
[CI] Fix CI error from timm and PyTorch version. (#1076)
mzr1996 Oct 10, 2022
38040d5
[Fix] Fix performance issue in convnext DDP train. (#1098)
cybergeek2077 Oct 17, 2022
a9489f6
[GitHub] Update issue template and remove general question template. …
mzr1996 Oct 20, 2022
17ed870
[Feature] Support mmcls with NPU backend. (#1072)
wangjiangben-hw Oct 24, 2022
dd664ff
[Docs] Add NPU support page. (#1149)
wangjiangben-hw Nov 1, 2022
29c54dd
Bump version to v0.24.1 (#1150)
mzr1996 Nov 1, 2022
8c63bb5
Merge branch 'dev'
mzr1996 Nov 1, 2022
aacaa73
[Docs] further detail for the doc for `ClassBalancedDataset`. (#901)
xiaoyuan0203 Nov 2, 2022
9b1cd5c
[Docs] Fix typo in miscellaneous.md. (#1137)
digients Nov 4, 2022
4a3ad4f
[Docs] Fixed typo in pytorch2torchscript.md (#1173)
unseenme Nov 9, 2022
05e4bc1
[Feature] Support Activation Checkpointing for ConvNeXt. (#1152)
nijkah Nov 14, 2022
0eb3b61
[Docs] Update NPU support doc. (#1198)
mzr1996 Nov 15, 2022
dc8691e
[Feature] Support MLU backend. (#1159)
Qiza-lyhm Nov 15, 2022
96bb2dd
[Fix] Fix the redundant `device_ids` in `tools/test.py`. (#1215)
mzr1996 Nov 22, 2022
578c035
[Enhance] Add `dist_train_arm.sh` for ARM device and update NPU resul…
wangjiangben-hw Nov 28, 2022
8387358
[Docs] Add version banner and version warning in master docs. (#1216)
mzr1996 Dec 5, 2022
3e99395
[Fix] Fix a bug caused MMClsWandbHook stuck. (#1242)
mzr1996 Dec 6, 2022
c737e65
Bump version to v0.25.0. (#1244)
mzr1996 Dec 6, 2022
2495400
Merge branch 'dev'
mzr1996 Dec 6, 2022
7bf42ee
[CI] Update CI of the master branch. (#1252)
mzr1996 Dec 13, 2022
48fdcdb
[Bot] Update assignee schedule. (#1262)
mzr1996 Dec 13, 2022
3d4f80d
[Docs] Fix the wrong VGG-16-BN config link in Model-Page.
chengchen666 Dec 30, 2022
fb16bdc
Fix docs
mzr1996 Feb 15, 2023
f2adad2
[DOC] Update recommended branch from MMClassification to MMPreTrain i…
Ezra-Yu Apr 3, 2023
748ab7a
[Fix]Fix the issue where 1p cannot specify a card number. (#1650)
LRJKD Jun 21, 2023
4ec2509
[Improve] Enable binary operators on the NPU. (#1714)
LRJKD Jul 19, 2023
09c46f5
Nuevo repo mmpretrain
ccanamero Aug 9, 2024
737880c
Adding MultiScaleFlipAug and changing directories
ccanamero Aug 20, 2024
877eb38
Update __init__
ccanamero Aug 20, 2024
521c164
albumentaions new version
ccanamero Aug 20, 2024
9e55795
img_scale param
ccanamero Aug 20, 2024
00ee948
img_scale argument for Resize function
ccanamero Aug 21, 2024
e2241da
Adding keep ration to Resize function
ccanamero Aug 21, 2024
434021b
Argument size now is optional
ccanamero Aug 21, 2024
3c59c2b
New changes managing multichannel
ccanamero Aug 21, 2024
24e970e
Update build_dataset function
ccanamero Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,53 +187,23 @@ workflows:
env: LRU_CACHE_CAPACITY=1
requires:
- lint
- build:
name: build_py36_torch1.6
torch: 1.6.0
torchvision: 0.7.0
requires:
- lint
- build:
name: build_py36_torch1.7
torch: 1.7.0
torchvision: 0.8.1
requires:
- lint
- build:
name: build_py36_torch1.8
torch: 1.8.0
torchvision: 0.9.0
requires:
- lint
- build:
name: build_py39_torch1.8
torch: 1.8.0
torchvision: 0.9.0
python: "3.9.0"
requires:
- lint
- build:
name: build_py39_torch1.9
torch: 1.9.0
torchvision: 0.10.0
python: "3.9.0"
requires:
- lint
- build:
name: build_py39_torch1.10
torch: 1.10.0
torchvision: 0.11.1
python: "3.9.0"
requires:
- lint
- build_with_cuda:
name: build_py36_torch1.6_cu101
requires:
- build_with_timm
- build_py36_torch1.5
- build_py36_torch1.6
- build_py36_torch1.7
- build_py36_torch1.8
- build_py39_torch1.8
- build_py39_torch1.9
- build_py39_torch1.10
33 changes: 0 additions & 33 deletions .github/ISSUE_TEMPLATE/----.md

This file was deleted.

34 changes: 0 additions & 34 deletions .github/ISSUE_TEMPLATE/---.md

This file was deleted.

44 changes: 0 additions & 44 deletions .github/ISSUE_TEMPLATE/---bug.md

This file was deleted.

68 changes: 68 additions & 0 deletions .github/ISSUE_TEMPLATE/1_bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: 🐞 Bug report
description: Create a report to help us improve
labels: ["bug"]
title: "[Bug] "
body:
- type: markdown
attributes:
value: |
If you have already identified the reason, we strongly appreciate you creating a new PR according to [the tutorial](https://mmclassification.readthedocs.io/en/master/community/CONTRIBUTING.html)!
If you need our help, please fill in the following form to help us to identify the bug.

- type: dropdown
id: version
attributes:
label: Branch
description: Which branch/version are you using?
options:
- master branch (0.24 or other 0.x version)
- 1.x branch (1.0.0rc2 or other 1.x version)
validations:
required: true

- type: textarea
id: describe
validations:
required: true
attributes:
label: Describe the bug
description: |
Please provide a clear and concise description of what the bug is.
Preferably a simple and minimal code snippet that we can reproduce the error by running the code.
placeholder: |
A clear and concise description of what the bug is.

```python
# Sample code to reproduce the problem
```

```shell
The command or script you run.
```

```
The error message or logs you got, with the full traceback.
```

- type: textarea
id: environment
validations:
required: true
attributes:
label: Environment
description: |
Please run `python -c "import mmcls.utils;import pprint;pprint.pp(dict(mmcls.utils.collect_env()))"` to collect necessary environment information and paste it here.
placeholder: |
```python
# The output the above command
```

- type: textarea
id: other
attributes:
label: Other information
description: |
Tell us anything else you think we should know.

1. Did you make any modifications on the code or config?
2. What do you think might be the reason?
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/2_feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: 🚀 Feature request
description: Suggest an idea for this project
labels: ["enhancement"]
title: "[Feature] "
body:
- type: markdown
attributes:
value: |
If you have already implemented the feature, we strongly appreciate you creating a new PR according to [the tutorial](https://mmclassification.readthedocs.io/en/master/community/CONTRIBUTING.html)!

- type: dropdown
id: version
attributes:
label: Branch
description: Which branch/version are you using?
options:
- master branch (0.24 or other 0.x version)
- 1.x branch (1.0.0rc2 or other 1.x version)
validations:
required: true

- type: textarea
id: describe
validations:
required: true
attributes:
label: Describe the feature
description: |
What kind of feature do you want MMClassification to add. If there is an official code release or third-party implementation, please also provide the information here, which would be very helpful.
placeholder: |
A clear and concise description of the motivation of the feature.
Ex1. It is inconvenient when \[....\].
Ex2. There is a recent paper \[....\], which is very helpful for \[....\].

- type: checkboxes
id: pr
attributes:
label: Will you implement it?
options:
- label: I would like to implement this feature and create a PR!
69 changes: 69 additions & 0 deletions .github/ISSUE_TEMPLATE/3_bug-report_zh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: 🐞 报告 Bug
description: 报告你在使用中遇到的不合预期的情况
labels: ["bug"]
title: "[Bug] "
body:
- type: markdown
attributes:
value: |
我们推荐使用英语模板 Bug report,以便你的问题帮助更多人。

如果你已经有了解决方案,我们非常欢迎你直接创建一个新的 PR 来解决这个问题。创建 PR 的流程可以参考[文档](https://mmclassification.readthedocs.io/zh_CN/master/community/CONTRIBUTING.html)。
如果你需要我们的帮助,请填写以下内容帮助我们定位 Bug。

- type: dropdown
id: version
attributes:
label: 分支
description: 你正在使用的分支/版本是哪个?
options:
- master 分支 (0.24 或其他 0.x 版本)
- 1.x 分支 (1.0.0rc2 或其他 1.x 版本)
validations:
required: true

- type: textarea
id: describe
validations:
required: true
attributes:
label: 描述该错误
description: |
请简要说明你遇到的错误。如果可以的话,请提供一个简短的代码片段帮助我们复现这一错误。
placeholder: |
问题的简要说明

```python
# 复现错误的代码片段
```

```shell
# 发生错误时你的运行命令
```

```
错误信息和日志,请展示全部的错误日志和 traceback
```

- type: textarea
id: environment
validations:
required: true
attributes:
label: 环境信息
description: |
请运行指令 `python -c "import mmcls.utils;import pprint;pprint.pp(dict(mmcls.utils.collect_env()))"` 来收集必要的环境信息,并贴在下方。
placeholder: |
```python
# 上述命令的输出
```

- type: textarea
id: other
attributes:
label: 其他信息
description: |
告诉我们其他有价值的信息。

1. 你是否对代码或配置文件做了任何改动?
2. 你认为可能的原因是什么?
42 changes: 42 additions & 0 deletions .github/ISSUE_TEMPLATE/4_feature-request_zh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: 🚀 功能建议
description: 建议一项新的功能
labels: ["enhancement"]
title: "[Feature] "
body:
- type: markdown
attributes:
value: |
推荐使用英语模板 Feature request,以便你的问题帮助更多人。

如果你已经实现了该功能,我们非常欢迎你直接创建一个新的 PR 来解决这个问题。创建 PR 的流程可以参考[文档](https://mmclassification.readthedocs.io/zh_CN/master/community/CONTRIBUTING.html)。

- type: dropdown
id: version
attributes:
label: 分支
description: 你正在使用的分支/版本是哪个?
options:
- master 分支 (0.24 或其他 0.x 版本)
- 1.x 分支 (1.0.0rc2 或其他 1.x 版本)
validations:
required: true

- type: textarea
id: describe
validations:
required: true
attributes:
label: 描述该功能
description: |
你希望 MMClassification 添加什么功能?如果存在相关的论文、官方实现或者第三方实现,请同时贴出链接,这将非常有帮助。
placeholder: |
简要说明该功能,及为什么需要该功能
例 1. 现在进行 xxx 的时候不方便
例 2. 最近的论文中提出了有一个很有帮助的 xx

- type: checkboxes
id: pr
attributes:
label: 是否希望自己实现该功能?
options:
- label: 我希望自己来实现这一功能,并向 MMClassification 贡献代码!
Loading
Loading