-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add senet and results docstring #149
Conversation
github.com:Oneflow-Inc/vision into add-SEModule-doc add SEModule docstring
flowvision/models/senet.py
Outdated
@ModelCreator.register_model | ||
def senet154(pretrained=False, progress=True, **kwargs): | ||
""" | ||
Constructs the senet154 model trained on ImageNet2012. |
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.
senet154
改成SENet-154
会比较好
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.
在论文中确实用 ResNet-152、 SENet-154 来比较,但是在代码中,可以参见 models 下已有的模型
- 代码中的函数 senet150 类比 resnet50、resnet101 等,表示该模型自身的网络, 而非有额外的添加如 se_inception_v3
pytorch 和其他几个大佬也是如此命名,所以我认为函数命名应该是没问题的。 - 论文中的 SENet-154 类比 ResNet-152,使用了大写通常用于阐述
假如你引用的只是第300行,那我认可建议,改为 Constructs the SENet-154 model trained on ImageNet2012.
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.
好,我的意思就是300行改一下23333
flowvision/models/senet.py
Outdated
@ModelCreator.register_model | ||
def se_resent50(pretrained=False, progress=True, **kwargs): | ||
""" | ||
Constructs the se-resent50 model trained on ImageNet2012. |
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.
SE-ResNet50
还需要更新一下README里的那个模型,加一个SENet进去 @Aries-chen |
Changelog 和readme更新一下,还有速度? |
README更新一下,速度测试加上,ChangeLog这边还没弄好2333,之后再加也行,然后记得先合并一下主分支解决冲突 |
…nd-results-docstring
已更新 |
增加了 senet 的多个子模型以及他们的文档和测试结果
@kaijieshi7