-
Notifications
You must be signed in to change notification settings - Fork 141
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
refactor: uniform all model names and correct many other text errors; #701
Conversation
@@ -19,7 +19,7 @@ interpolation: "bilinear" | |||
crop_pct: 0.875 | |||
|
|||
# model | |||
model: "shufflenet_v1_g3_x0_5" | |||
model: "shufflenet_v1_g3_05" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改为050会不会更好一点
@@ -28,7 +28,7 @@ crop_pct: 0.935 | |||
ema: True | |||
|
|||
# model | |||
model: 'crossvit15' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为什么有的数字前有下划线,有的之前没有
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
跟ckpt的命名统一,有的ckpt文件名在之前修改的时候就没有加下划线
configs/densenet/README.md
Outdated
| densenet_201 | D910x8-G | 78.14 | 94.08 | 20.24 | [yaml](https://github.com/mindspore-lab/mindcv/blob/main/configs/densenet/densenet_201_ascend.yaml) | [weights](https://download.mindspore.cn/toolkits/mindcv/densenet/densenet201-120_5004_Ascend.ckpt) | | ||
| Model | Context | Top-1 (%) | Top-5 (%) | Params (M) | Recipe | Download | | ||
|-------------|----------|-----------|-----------|------------|----------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------| | ||
| densenet121 | D910x8-G | 75.64 | 92.84 | 8.06 | [yaml](https://github.com/mindspore-lab/mindcv/blob/main/configs/densenet/densenet121_ascend.yaml) | [weights](https://download.mindspore.cn/toolkits/mindcv/densenet/densenet121-120_5004_Ascend.ckpt) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里又把下划线去掉了?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
跟ckpt对齐
'RepMLPNet_L256', | ||
'RepMLPNet_T224', | ||
'RepMLPNet_T256', | ||
['BiT_resnet50', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bit小写?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
为了跟ckpt模型名对齐,没有改成小写
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thank you for your contribution to the MindCV repo.
Before submitting this PR, please make sure:
Motivation
统一库上模型名称
①模型名:configs目录下的子文件夹名(configs/*)与mindcv/models目录下的模型文件名(mindcv/models/*.py)保持一致;
②模型规格名:
__all__
内模型名称、default_cfgs
.keys()中的模型名称、@register_model
处模型函数名model
参数处模型名称以上模型名称保持一致(以ckpt文件名为准);
其它修改
①修改过程中遇到的关联文件,如inference.md,readme.md等;
②configs/*/*.md的文章标题与论文中模型正式名称保持一致;
③benchmark_results.md;
④其他文本错误(如:GoogLENet ->GoogLeNet 等等);
Test Plan
(How should this PR be tested? Do you require special setup to run the test or repro the fixed bug?)
Related Issues and PRs
(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)