-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Feature]Add LPSNet #2818
[Feature]Add LPSNet #2818
Conversation
return [_interpolate(out, size=input_size)] | ||
|
||
|
||
def _multipath_interaction(feats): |
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.
可适应任意多路的情况
num_classes, | ||
deploy=False, | ||
pretrained=None, ): | ||
super().__init__() |
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.
分支数量取决于scale_ratios的长度,无需为不同分支的模型单独写代码
paddleseg/models/lpsnet.py
Outdated
def forward(self, x): | ||
return self.conv(x) | ||
|
||
def switch_to_deploy(self): |
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.
结构重参数化,或许可以直接添加作为layers.ConvBNReLU的方法
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.
LGTM.
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
PR types
New features
PR changes
Models
Description
reference: https://github.com/YihengZhang-CV/LPS-Net