Cherry pick add deformable roi pooling #18014
Closed
cjt222 wants to merge 6 commits intoPaddlePaddle:release/1.5from
cjt222:cherry-pick
Closed
Cherry pick add deformable roi pooling #18014cjt222 wants to merge 6 commits intoPaddlePaddle:release/1.5from cjt222:cherry-pick
cjt222 wants to merge 6 commits intoPaddlePaddle:release/1.5from
cjt222:cherry-pick
Conversation
* add deformable psroi pooling * test=develop * test=develop * test=develop modify format * fix bug * test=develop run ci * test=develop add API.spec * add test_layers.py * run ci again * test=develop run ci again * run ci again * test=develop run ci again * test=develop run ci again * test=develop run ci again * add space between two lines * test=develop add space between two lines * test=develop add space between lines * test=develop modify comment in nn.py * test=develop add space between two lines * test=develop add space between two lines * update API.spec * run ci again * test=develop run ci again * rerun ci * test=develop rerun ci * change input shape * run ci * test=develop run ci * modify format of nn.py * test=develop * test=develop * test=develop update API.spec * test=develop fix API doc * modify API comment * modift API comment * test=develop update API.spec * test=develop modify comment * test=develop modift comment * test=develop modift comment * test=develop update API.spec * test=develop modify comment * test=develop add inference in nn.py * test=develop update API.spec * test=develop resolve confict * test=develop update API.spec
run ci
cherry pick
test=release/1.5
resolve conflict
Contributor
|
请不要放内网地址。 |
Contributor
Author
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add deformable roi pooling op, this is merged to develop #17827. Now cherry pick to v1.5
1、性能测试
测试环境:系统为ubuntu16.04, 显卡为v100
(1) Deformable PSROIPooling 和PSROI Pool对比
输入:
1)input为随机生成的维度为[5, 128, 64, 64]的数据
2)rois为随机生成的16个框,维度为[16, 4],LOD分布为[4,3,2,2,5]
3)trans 为固定维度的[16, 2, 8, 8],值全部为0.5
4)参数设置:
> no_trans=0, spatial_scale=1.0, output_channels=2,
group_size=[1,1], pooled_height=8, pooled_width=8, part_size=[4, 4],
sample_per_part=4, trans_std=0.1
(2) Deformable PSROIPooling和PSROI Pool对比
输入:
1)input为随机生成的维度为[5, 128, 64, 64]的数据
2)rois为随机生成的16个框,维度为[16, 4],LOD分布为[4,3,2,2,5]
3)trans 为固定维度的[16, 2, 8, 8],值全部为0.5
4)参数设置:
>no_trans=1, spatial_scale=1.0, output_channels=128,
group_size=[1,1], pooled_height=8, pooled_width=8, part_size=[4, 4],
sample_per_part=4, trans_std=0.1