Skip to content

Commit 86ff2fd

Browse files
committed
Update version to 0.0.1 and rename aggregation method to 'aggregation_RPEA_joint_level'
1 parent 974a0fd commit 86ff2fd

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

fmpose3d/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
Licensed under Apache 2.0
88
"""
99

10-
__version__ = "0.0.5"
10+
__version__ = "0.0.1"
1111
__author__ = "Ti Wang, Xiaohang Yu, Mackenzie Weygandt Mathis"
1212
__license__ = "Apache 2.0"
1313

1414
# Import key components for easy access
1515
from .aggregation_methods import (
1616
average_aggregation,
1717
aggregation_select_single_best_hypothesis_by_2D_error,
18-
aggregation_RPEA_weighted_by_2D_error,
18+
aggregation_RPEA_joint_level,
1919
)
2020

2121
# Import 2D pose detection utilities
@@ -27,7 +27,7 @@
2727
# Aggregation methods
2828
"average_aggregation",
2929
"aggregation_select_single_best_hypothesis_by_2D_error",
30-
"aggregation_RPEA_weighted_by_2D_error",
30+
"aggregation_RPEA_joint_level",
3131
# 2D pose detection
3232
"gen_video_kpts",
3333
"h36m_coco_format",

fmpose3d/aggregation_methods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def aggregation_select_single_best_hypothesis_by_2D_error(args,
8787
return agg
8888

8989

90-
def aggregation_RPEA_weighted_by_2D_error(
90+
def aggregation_RPEA_joint_level(
9191
args, list_hypothesis, batch_cam, input_2D, gt_3D, topk=3
9292
):
9393
"""

scripts/FMPose3D_main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from fmpose3d.common import opts, Human36mDataset, Fusion
1313
from fmpose3d.common.utils import *
1414

15-
from fmpose3d.aggregation_methods import aggregation_RPEA_weighted_by_2D_error
15+
from fmpose3d.aggregation_methods import aggregation_RPEA_joint_level
1616

1717
args = opts().parse()
1818
os.environ["CUDA_VISIBLE_DEVICES"] = args.gpu
@@ -121,7 +121,7 @@ def euler_sample(x2d, y_local, steps):
121121
output_3D_s[:, :, 0, :] = 0
122122
list_hypothesis.append(output_3D_s)
123123

124-
output_3D_s = aggregation_RPEA_weighted_by_2D_error(args,
124+
output_3D_s = aggregation_RPEA_joint_level(args,
125125
list_hypothesis, batch_cam, input_2D_nonflip, gt_3D, args.topk
126126
)
127127

0 commit comments

Comments
 (0)