SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2411.16289 · 2024

Utilizing Uncertainty in 2D Pose Detectors for Probabilistic 3D Human Mesh Recovery

arXiv · PDF · Open in the Atlas

Code that ran

10 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 9 failures of our instrument; 1 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2411.16289.json · badge: /api/ran/2411.16289.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
twehrbein/humr canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
FunctionStatusWhere it lives
drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
twehrbein/humr/easy_vitpose/vit.py
code served (permissive licence) · get_code("87577b3ff9d32712")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 3, 4, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a small tensor with batch size 2 and 4 dimensions
x = torch.randn(2, 3, 4, 5)

# Define all parameters for drop_path
ARGS = {
    "x": x,
    "drop_prob": 0.5,
    "training": True,
    "scale_by_keep": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 3, 4, 5) — shape (2, 3, 4, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
dyn_model_import Ran
ran; our contract draft was wrong, not the code
twehrbein/humr/easy_vitpose/util.py
code served (permissive licence) · get_code("6fc5559161e01fe3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned MagicMock. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import sys
from unittest.mock import MagicMock

# Create a mock module for easy_vitpose.ViTPose_coco
mock_vitpose_coco = MagicMock()
mock_vitpose_coco.model_small = MagicMock()
mock_vitpose_coco.model_base = MagicMock()
mock_vitpose_coco.model_large = MagicMock()
mock_vitpose_coco.model_huge = MagicMock()

# Create a mock module for easy_vitpose
mock_easy_vitpose = MagicMock()
mock_easy_vitpose.ViTPose_coco = mock_vitpose_coco

# Register mocks in sys.modules
sys.modules['easy_vitpose'] = mock_easy_vitpose
sys.modules['easy_vitpose.ViTPose_coco'] = mock_vitpose_coco

ARGS = {
    'dataset': 'coco',
    'model': 's'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type MagicMock — a MagicMock output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a MagicMock output the recorded ndim 1 and dtype family None describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
flip_back Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
twehrbein/humr/easy_vitpose/post_transforms.py
code served (permissive licence) · get_code("aefe0d94e5a0ed94")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 4, dtype family float, shape (2, 4, 3, 5) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch

torch.manual_seed(0)

# Create a small 4D numpy array for output_flipped
# Shape: [batch_size=2, num_keypoints=4, height=3, width=5]
output_flipped = np.random.randn(2, 4, 3, 5).astype(np.float32)

# Define flip_pairs - pairs of keypoint indices that are mirrored
# For example: (0, 1) means keypoint 0 and keypoint 1 are left-right pairs
# (2, 3) means keypoint 2 and keypoint 3 are left-right pairs
flip_pairs = [(0, 1), (2, 3)]

# target_type as a string
target_type = 'GaussianHeatmap'

ARGS = {
    'output_flipped': output_flipped,
    'flip_pairs': flip_pairs,
    'target_type': target_type
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 4, dtype family float, shape (2, 4, 3, 5) — shape (2, 4, 3, 5) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fliplr_joints Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
twehrbein/humr/easy_vitpose/post_transforms.py
code served (permissive licence) · get_code("72ea34cd25c47f9e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set seed for reproducibility
np.random.seed(0)

# Define arguments for fliplr_joints function
K = 4  # number of keypoints

# Create joints_3d as np.ndarray([K, 3])
joints_3d = np.array([
    [100.0, 150.0, 50.0],
    [200.0, 160.0, 55.0],
    [150.0, 200.0, 60.0],
    [250.0, 210.0, 65.0]
], dtype=np.float32)

# Create joints_3d_visible as np.ndarray([K, 1])
joints_3d_visible = np.array([
    [1.0],
    [1.0],
    [0.0],
    [1.0]
], dtype=np.float32)

# Image width
img_width = 400

# Flip pairs - pairs of keypoint indices that are mirrored
# Example: (left_shoulder, right_shoulder), (left_elbow, right_elbow)
flip_pairs = [(0, 1), (2, 3)]

ARGS = {
    "joints_3d": joints_3d,
    "joints_3d_visible": joints_3d_visible,
    "img_width": img_width,
    "flip_pairs": flip_pairs
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
fliplr_regression Ran
ran; our contract draft was wrong, not the code
twehrbein/humr/easy_vitpose/post_transforms.py
code served (permissive licence) · get_code("89a0b0a407328fc3")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (2, 5, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Construct arguments for fliplr_regression
regression = np.random.randn(2, 5, 3)  # [N=2, K=5, C=3] batch of keypoints

flip_pairs = [(0, 1), (2, 3)]  # pairs of left-right keypoints to flip

center_mode = 'static'

center_x = 0.5

center_index = 0

ARGS = {
    'regression': regression,
    'flip_pairs': flip_pairs,
    'center_mode': center_mode,
    'center_x': center_x,
    'center_index': center_index,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (2, 5, 3) — shape (2, 5, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
infer_dataset_by_path Ran
ran; our contract draft was wrong, not the code
twehrbein/humr/easy_vitpose/util.py
code served (permissive licence) · get_code("a8ef447fad93468f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import re
import tempfile

# Create a temporary directory and a mock model file with a valid name
temp_dir = tempfile.mkdtemp()
model_filename = "checkpoint-cifar10.pth"
model_path = os.path.join(temp_dir, model_filename)

# Create the file so it exists
with open(model_path, 'w') as f:
    f.write("")

ARGS = {
    "model_path": model_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
init_random_seed Ran
ran, honoured the contract we drafted
twehrbein/humr/easy_vitpose/util.py
code served (permissive licence) · get_code("09f631ca5b58bd79")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    'seed': None,
    'device': 'cpu'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
keypoint_auc Ran
ran; our contract draft was wrong, not the code
twehrbein/humr/easy_vitpose/top_down_eval.py
code served (permissive licence) · get_code("117462de1e66d200")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float64, ndim 0, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set seed for reproducibility
np.random.seed(0)

# Define small test data
N = 2  # batch size
K = 4  # num_keypoints
D = 2  # dimension of keypoints

# Predicted keypoint locations [N, K, 2]
pred = np.random.rand(N, K, D).astype(np.float32) * 100

# Ground truth keypoint locations [N, K, 2]
gt = np.random.rand(N, K, D).astype(np.float32) * 100

# Visibility mask [N, K] - all visible in this case
mask = np.ones((N, K), dtype=bool)

# Normalization factor (scalar)
normalize = 50.0

# Number of steps for AUC calculation
num_step = 20

ARGS = {
    'pred': pred,
    'gt': gt,
    'mask': mask,
    'normalize': normalize,
    'num_step': num_step
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float64, ndim 0, dtype family float — no output shape is stated: observe_signature.py recorded float ndim 0, which disagrees with the fixture run
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
keypoint_pck_accuracy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
twehrbein/humr/easy_vitpose/top_down_eval.py
code served (permissive licence) · get_code("8d099da3b789e317")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

np.random.seed(0)

# batch_size: N = 2
# num_keypoints: K = 4
# dimension: D = 2

N, K, D = 2, 4, 2

# Predicted keypoint locations [N, K, D]
pred = np.random.rand(N, K, D).astype(np.float32) * 100

# Ground truth keypoint locations [N, K, D]
gt = np.random.rand(N, K, D).astype(np.float32) * 100

# Visibility mask [N, K]
mask = np.ones((N, K), dtype=bool)
mask[0, 1] = False  # Make one keypoint invisible

# Threshold for PCK
thr = 0.5

# Normalization factor [N, D] - typical value is heatmap_size
normalize = np.array([[64.0, 48.0], [64.0, 48.0]], dtype=np.float32)

ARGS = {
    'pred': pred,
    'gt': gt,
    'mask': mask,
    'thr': thr,
    'normalize': normalize
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
trunc_normal_ Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
twehrbein/humr/easy_vitpose/vit.py
code served (permissive licence) · get_code("c3487124f762d881")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import math

torch.manual_seed(0)

# Create a small tensor to initialize with truncated normal
tensor = torch.empty(2, 4)

# Define arguments for trunc_normal_
ARGS = {
    'tensor': tensor,
    'mean': 0.0,
    'std': 1.0,
    'a': -2.0,
    'b': 2.0
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 4) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pose_pck_accuracy Not yet run
unverified (harvested, no recorded run)
twehrbein/humr/easy_vitpose/top_down_eval.py
code served (permissive licence) · get_code("6d08729cda37113c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 1 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
drop_path 66 other papers
41 dated earlier, 2 the same month, 20 later, 1 same year, order not determinable, 2 undated · 15 only as an assembly brick
1906.01502 (2019-06)
How multilingual is Multilingual BERT?
2011.10566 (2020-11)
Exploring Simple Siamese Representation Learning
2103.03230 (2021-03)
Barlow Twins: Self-Supervised Learning via Redundancy Reduction
and 63 more not named here
trunc_normal_ 6 other papers
5 dated earlier, 1 undated
2204.12484 (2022-04)
ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
2308.01045 (2023-08)
Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentation
2311.02326 (2023-11)
FragXsiteDTI: Revealing Responsible Segments in Drug-Target Interaction with Transformer-Driven Interpretation
and 3 more not named here
pose_pck_accuracy 3 other papers
3 dated earlier
2204.12484 (2022-04)
ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
2312.10758 (2023-12)
SHaRPose: Sparse High-Resolution Representation for Human Pose Estimation
2403.01813 (2024-03)
A Simple Baseline for Efficient Hand Mesh Reconstruction
keypoint_pck_accuracy 2 other papers
2 dated earlier
2204.12484 (2022-04)
ViTPose: Simple Vision Transformer Baselines for Human Pose Estimation
2403.01813 (2024-03)
A Simple Baseline for Efficient Hand Mesh Reconstruction

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Monocular 3D human pose and shape estimation is an inherently ill-posed problem due to depth ambiguities, occlusions, and truncations. Recent probabilistic approaches learn a distribution over plausible 3D human meshes by maximizing the likelihood of the ground-truth pose given an image. We show that this objective function alone is not sufficient to best capture the full distributions. Instead, we propose to additionally supervise the learned distributions by minimizing the distance to distributions encoded in heatmaps of a 2D pose detector. Moreover, we reveal that current methods often generate incorrect hypotheses for invisible joints which is not detected by the evaluation protocols. We demonstrate that person segmentation masks can be utilized during training to significantly decrease the number of invalid samples and introduce two metrics to evaluate it. Our normalizing flow-based approach predicts plausible 3D human mesh hypotheses that are consistent with the image evidence while maintaining high diversity for ambiguous body parts. Experiments on 3DPW and EMDB show that we outperform other state-of-the-art probabilistic methods. Code is available for research purposes at https://github.com/twehrbein/humr.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2411.16289")
get_code_for_paper("2411.16289")
have("2411.16289")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2411.16289.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2411.16289.svg)](https://syntology.ai/paper/2411.16289)

Connect an agent — have() is free.