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

[Feature]Add LPSNet #2818

Merged
merged 9 commits into from
Dec 28, 2022
Merged

[Feature]Add LPSNet #2818

merged 9 commits into from
Dec 28, 2022

Conversation

Asthestarsfalll
Copy link
Contributor

PR types

New features

PR changes

Models

Description

reference: https://github.com/YihengZhang-CV/LPS-Net

return [_interpolate(out, size=input_size)]


def _multipath_interaction(feats):
Copy link
Contributor Author

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__()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

分支数量取决于scale_ratios的长度,无需为不同分支的模型单独写代码

def forward(self, x):
return self.conv(x)

def switch_to_deploy(self):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

结构重参数化,或许可以直接添加作为layers.ConvBNReLU的方法

@shiyutang shiyutang changed the title [Feature]: add LPSNet [Feature]Add LPSNet Dec 9, 2022
@shiyutang shiyutang requested a review from juncaipeng December 9, 2022 02:26
paddleseg/models/lpsnet.py Outdated Show resolved Hide resolved
paddleseg/models/lpsnet.py Show resolved Hide resolved
paddleseg/models/lpsnet.py Show resolved Hide resolved
paddleseg/models/lpsnet.py Outdated Show resolved Hide resolved
paddleseg/models/lpsnet.py Outdated Show resolved Hide resolved
configs/lpsnet/lpsnet_cityscapes_1536x1024_200k.yml Outdated Show resolved Hide resolved
paddleseg/models/lpsnet.py Outdated Show resolved Hide resolved
paddleseg/models/lpsnet.py Outdated Show resolved Hide resolved
configs/lpsnet/lpsnet_cityscapes_1536x1024_200k.yml Outdated Show resolved Hide resolved
configs/lpsnet/lpsnet_cityscapes_1536x1024_200k.yml Outdated Show resolved Hide resolved
configs/lpsnet/lpsnet_cityscapes_1536x1024_200k.yml Outdated Show resolved Hide resolved
paddleseg/models/lpsnet.py Outdated Show resolved Hide resolved
@Bobholamovic Bobholamovic self-requested a review December 14, 2022 03:03
Copy link
Member

@Bobholamovic Bobholamovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

请参考意见修改文档,并更新模型权重、训练日志链接。

configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/lpsnet_l_cityscapes_1536x1024_200k.yml Outdated Show resolved Hide resolved
@Bobholamovic Bobholamovic self-assigned this Dec 26, 2022
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/README.md Outdated Show resolved Hide resolved
configs/lpsnet/_base_cityscapes_1536x1024_200k.yml Outdated Show resolved Hide resolved
Copy link
Member

@Bobholamovic Bobholamovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Collaborator

@juncaipeng juncaipeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@juncaipeng juncaipeng merged commit f91156b into PaddlePaddle:develop Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants