Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
PaddleDetection
提交
8a685c4b
P
PaddleDetection
项目概览
PaddlePaddle
/
PaddleDetection
大约 1 年 前同步成功
通知
695
Star
11112
Fork
2696
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
184
列表
看板
标记
里程碑
合并请求
40
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
PaddleDetection
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
184
Issue
184
列表
看板
标记
里程碑
合并请求
40
合并请求
40
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
8a685c4b
编写于
11月 05, 2021
作者:
J
JYChen
提交者:
GitHub
11月 05, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update code reference information for keypoint (#4458)
上级
d8cb6707
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
16 addition
and
3 deletion
+16
-3
deploy/python/keypoint_preprocess.py
deploy/python/keypoint_preprocess.py
+4
-1
ppdet/data/transform/keypoint_operators.py
ppdet/data/transform/keypoint_operators.py
+4
-1
ppdet/modeling/backbones/lite_hrnet.py
ppdet/modeling/backbones/lite_hrnet.py
+4
-0
ppdet/modeling/keypoint_utils.py
ppdet/modeling/keypoint_utils.py
+4
-1
未找到文件。
deploy/python/keypoint_preprocess.py
浏览文件 @
8a685c4b
...
@@ -109,7 +109,10 @@ def get_affine_transform(center,
...
@@ -109,7 +109,10 @@ def get_affine_transform(center,
def
get_warp_matrix
(
theta
,
size_input
,
size_dst
,
size_target
):
def
get_warp_matrix
(
theta
,
size_input
,
size_dst
,
size_target
):
"""Calculate the transformation matrix under the constraint of unbiased.
"""This code is based on
https://github.com/open-mmlab/mmpose/blob/master/mmpose/core/post_processing/post_transforms.py
Calculate the transformation matrix under the constraint of unbiased.
Paper ref: Huang et al. The Devil is in the Details: Delving into Unbiased
Paper ref: Huang et al. The Devil is in the Details: Delving into Unbiased
Data Processing for Human Pose Estimation (CVPR 2020).
Data Processing for Human Pose Estimation (CVPR 2020).
...
...
ppdet/data/transform/keypoint_operators.py
浏览文件 @
8a685c4b
...
@@ -790,7 +790,10 @@ class ToHeatmapsTopDown_DARK(object):
...
@@ -790,7 +790,10 @@ class ToHeatmapsTopDown_DARK(object):
@
register_keypointop
@
register_keypointop
class
ToHeatmapsTopDown_UDP
(
object
):
class
ToHeatmapsTopDown_UDP
(
object
):
"""to generate the gaussian heatmaps of keypoint for heatmap loss.
"""This code is based on:
https://github.com/HuangJunJie2017/UDP-Pose/blob/master/deep-high-resolution-net.pytorch/lib/dataset/JointsDataset.py
to generate the gaussian heatmaps of keypoint for heatmap loss.
ref: Huang et al. The Devil is in the Details: Delving into Unbiased Data Processing
ref: Huang et al. The Devil is in the Details: Delving into Unbiased Data Processing
for Human Pose Estimation (CVPR 2020).
for Human Pose Estimation (CVPR 2020).
...
...
ppdet/modeling/backbones/lite_hrnet.py
浏览文件 @
8a685c4b
...
@@ -11,6 +11,10 @@
...
@@ -11,6 +11,10 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
"""
This code is based on
https://github.com/HRNet/Lite-HRNet/blob/hrnet/models/backbones/litehrnet.py
"""
import
paddle
import
paddle
import
paddle.nn
as
nn
import
paddle.nn
as
nn
...
...
ppdet/modeling/keypoint_utils.py
浏览文件 @
8a685c4b
...
@@ -96,7 +96,10 @@ def get_affine_transform(center,
...
@@ -96,7 +96,10 @@ def get_affine_transform(center,
def
get_warp_matrix
(
theta
,
size_input
,
size_dst
,
size_target
):
def
get_warp_matrix
(
theta
,
size_input
,
size_dst
,
size_target
):
"""Calculate the transformation matrix under the constraint of unbiased.
"""This code is based on
https://github.com/open-mmlab/mmpose/blob/master/mmpose/core/post_processing/post_transforms.py
Calculate the transformation matrix under the constraint of unbiased.
Paper ref: Huang et al. The Devil is in the Details: Delving into Unbiased
Paper ref: Huang et al. The Devil is in the Details: Delving into Unbiased
Data Processing for Human Pose Estimation (CVPR 2020).
Data Processing for Human Pose Estimation (CVPR 2020).
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录