SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1904.05547 · 2019

Generating Multiple Hypotheses for 3D Human Pose Estimation with Mixture Density Network

arXiv · PDF · Open in the Atlas

Code that ran

6 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; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 3 failures of our instrument; 5 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/1904.05547.json · badge: /api/ran/1904.05547.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
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network canonical (classifier label)
classifier basis: census
6 ran · 5 no recorded run
FunctionStatusWhere it lives
camera_to_world_frame Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/cameras.py
code served (permissive licence) · get_code("6ce042354cb0a857")
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 2, dtype family float, shape (2, 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

torch_manual_seed = 0
np.random.seed(0)

# Create small sample data for camera_to_world_frame
# P: Nx3 points in camera coordinates (N=2 points, 3D coordinates)
P = np.array([
    [1.0, 2.0, 3.0],
    [4.0, 5.0, 6.0]
], dtype=np.float64)

# R: 3x3 Camera rotation matrix (identity rotation for simplicity)
R = np.array([
    [1.0, 0.0, 0.0],
    [0.0, 1.0, 0.0],
    [0.0, 0.0, 1.0]
], dtype=np.float64)

# T: 3x1 Camera translation parameters
T = np.array([
    [0.5],
    [1.0],
    [1.5]
], dtype=np.float64)

ARGS = {
    "P": P,
    "R": R,
    "T": T
}
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 2, dtype family float, shape (2, 3) — shape (2, 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
compute_similarity_transform Ran
ran on a synthesized input
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/procrustes.py
code served (permissive licence) · get_code("d15a574f20fa5bea")
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

# Create sample data
# X: target array of shape (N, M) - N points, M dimensions
# Y: input array of shape (N, M) - N points, M dimensions
np.random.seed(0)
N = 5  # number of points
M = 3  # dimensionality

X = np.random.randn(N, M).astype(np.float64)
Y = np.random.randn(N, M).astype(np.float64)

ARGS = {
    "X": X,
    "Y": Y,
    "compute_optimal_scale": False
}
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
get_action_subset Ran
ran; our contract draft was wrong, not the code
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/predict_3dpose_mdm.py
code served (permissive licence) · get_code("f5eee6f4a7a2d3ce")
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 dict. 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 torch
import numpy as np

torch.manual_seed(0)

# Create a sample poses_set dictionary
# Keys are tuples of (subject, action, seqname)
# Values are nxd matrices (numpy arrays or tensors representing poses)

poses_set = {
    ("subject_1", "walking", "seq_001"): np.random.randn(10, 4),
    ("subject_1", "running", "seq_002"): np.random.randn(8, 4),
    ("subject_2", "walking", "seq_003"): np.random.randn(12, 4),
    ("subject_2", "jumping", "seq_004"): np.random.randn(6, 4),
    ("subject_3", "walking", "seq_005"): np.random.randn(9, 4),
}

action = "walking"

ARGS = {
    "poses_set": poses_set,
    "action": action,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
load_data Ran
ran on a synthesized input
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/data_utils.py
code served (permissive licence) · get_code("eba040e815a85e27")
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 dict. 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 tempfile
import h5py
import numpy as np

# Create a temporary directory structure with mock h5 files
tmpdir = tempfile.mkdtemp()

# Create subject directories and h5 files
for subj in [1, 2]:
    subj_dir = os.path.join(tmpdir, f'S{subj}', 'MyPoses', '3D_positions')
    os.makedirs(subj_dir, exist_ok=True)
    
    subj_dir_2d = os.path.join(tmpdir, f'S{subj}', 'MyPoses', '2D_positions')
    os.makedirs(subj_dir_2d, exist_ok=True)

# Create mock h5 files for 3D data
for subj in [1, 2]:
    for action in ['Walking', 'Sitting']:
        subj_dir = os.path.join(tmpdir, f'S{subj}', 'MyPoses', '3D_positions')
        
        # Create 2 sequences for 3D data
        for seq_idx in range(2):
            fname = os.path.join(subj_dir, f'{action}_{seq_idx}.h5')
            with h5py.File(fname, 'w') as f:
                # Create mock data: (32*2, num_frames) for 3D positions
                poses_data = np.random.randn(64, 10)
                f.create_dataset('3D_positions', data=poses_data)

# Create mock h5 files for 2D data
for subj in [1, 2]:
    for action in ['Walking', 'Sitting']:
        subj_dir = os.path.join(tmpdir, f'S{subj}', 'MyPoses', '2D_positions')
        
        # Create 8 sequences for 2D data
        for seq_idx in range(8):
            fname = os.path.join(subj_dir, f'{action}_{seq_idx}.h5')
            with h5py.File(fname, 'w') as f:
                # Create mock data: (32*2, num_frames) for 2D positions
                poses_data = np.random.randn(64, 10)
                f.create_dataset('2D_positions', data=poses_data)

# Special handling for SittingDown action (should have both Sitting and SittingDown sequences)
for subj in [1, 2]:
    subj_dir_3d = os.path.join(tmpdir, f'S{subj}', 'MyPoses', '3D_positions')
    subj_dir_2d = os.path.join(tmpdir, f'S{subj}', 'MyPoses', '2D_positions')
    
    # 3D: Create 2 SittingDown sequences
    for seq_idx in range(2):
        fname = os.path.join(subj_dir_3d, f'SittingDown_{seq_idx}.h5')
        with h5py.File(fname, 'w') as f:
            poses_data = np.random.randn(64, 10)
            f.create_dataset('3D_positions', data=poses_data)
    
    # 2D: Create 8 SittingDown sequences
    for seq_idx in range(8):
        fname = os.path.join(subj_dir_2d, f'SittingDown_{seq_idx}.h5')
        with h5py.File(fname, 'w') as f:
            poses_data = np.random.randn(64, 10)
            f.create_dataset('2D_positions', data=poses_data)

ARGS = {
    'bpath': tmpdir,
    'subjects': [1, 2],
    'actions': ['Walking', 'SittingDown'],
    'dim': 3
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
h5py, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict 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
project_point_radial Ran
ran on a synthesized input
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/cameras.py
code served (permissive licence) · get_code("b4846342f739f10e")
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 random seed for reproducibility
np.random.seed(0)

# Create small sample data
N = 2  # Number of points

# P: Nx3 points in world coordinates
P = np.random.randn(N, 3)

# R: 3x3 Camera rotation matrix (use identity as a simple valid rotation)
R = np.eye(3)

# T: 3x1 Camera translation parameters
T = np.array([[0.1], [0.2], [0.3]])

# f: scalar Camera focal length
f = 500.0

# c: 2x1 Camera center
c = np.array([[320.0], [240.0]])

# k: 3x1 Camera radial distortion coefficients
k = np.array([[0.1], [0.01], [0.001]])

# p: 2x1 Camera tangential distortion coefficients
p = np.array([[0.001], [0.002]])

ARGS = {
    'P': P,
    'R': R,
    'T': T,
    'f': f,
    'c': c,
    'k': k,
    'p': p,
}
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
world_to_camera_frame Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/cameras.py
code served (permissive licence) · get_code("c30df769883845b6")
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 2, dtype family float, shape (2, 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
import torch

torch.manual_seed(0)

# Create sample data for world_to_camera_frame
# P: Nx3 3d points in world coordinates
P = np.array([
    [1.0, 2.0, 3.0],
    [4.0, 5.0, 6.0]
], dtype=np.float32)

# R: 3x3 Camera rotation matrix (identity for simplicity)
R = np.array([
    [1.0, 0.0, 0.0],
    [0.0, 1.0, 0.0],
    [0.0, 0.0, 1.0]
], dtype=np.float32)

# T: 3x1 Camera translation parameters
T = np.array([
    [0.1],
    [0.2],
    [0.3]
], dtype=np.float32)

ARGS = {
    "P": P,
    "R": R,
    "T": T
}
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 2, dtype family float, shape (2, 3) — shape (2, 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
Dirichlet_loss Not yet run
unverified (harvested, no recorded run)
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/mix_den_model.py
code served (permissive licence) · get_code("de6eedce004eb352")
How it ran

no invocation recorded.

kaiming Not yet run
unverified (harvested, no recorded run)
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/mix_den_model.py
code served (permissive licence) · get_code("a8756021030e5968")
How it ran

no invocation recorded.

load_stacked_hourglass Not yet run
unverified (harvested, no recorded run)
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/data_utils.py
code served (permissive licence) · get_code("32d5f4c81b3b566f")
How it ran

no invocation recorded.

mean_log_Gaussian_like Not yet run
unverified (harvested, no recorded run)
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/mix_den_model.py
code served (permissive licence) · get_code("a866706041e55d76")
How it ran

no invocation recorded.

normalization_stats Not yet run
unverified (harvested, no recorded run)
chaneyddtt/Generating-Multiple-Hypotheses-for-3D-Human-Pose-Estimation-with-Mixture-Density-Network/src/data_utils.py
code served (permissive licence) · get_code("9088d315ea27a453")
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 (2 with at least one paper dated earlier, 0 the same month, 2 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
get_action_subset 2 other papers
2 dated earlier
1705.03098 (2017-05)
A simple yet effective baseline for 3d human pose estimation
1711.08585 (2017-11)
Exploiting temporal information for 3D pose estimation
camera_to_world_frame 1 other paper
1 later
2007.09548 (2020-07)
Kinematic 3D Object Detection in Monocular Video
normalization_stats 1 other paper
1 dated earlier
1705.03098 (2017-05)
A simple yet effective baseline for 3d human pose estimation
world_to_camera_frame 1 other paper
1 later
2007.09548 (2020-07)
Kinematic 3D Object Detection in Monocular Video

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

3D human pose estimation from a monocular image or 2D joints is an ill-posed problem because of depth ambiguity and occluded joints. We argue that 3D human pose estimation from a monocular input is an inverse problem where multiple feasible solutions can exist. In this paper, we propose a novel approach to generate multiple feasible hypotheses of the 3D pose from 2D joints.In contrast to existing deep learning approaches which minimize a mean square error based on an unimodal Gaussian distribution, our method is able to generate multiple feasible hypotheses of 3D pose based on a multimodal mixture density networks. Our experiments show that the 3D poses estimated by our approach from an input of 2D joints are consistent in 2D reprojections, which supports our argument that multiple solutions exist for the 2D-to-3D inverse problem. Furthermore, we show state-of-the-art performance on the Human3.6M dataset in both best hypothesis and multi-view settings, and we demonstrate the generalization capacity of our model by testing on the MPII and MPI-INF-3DHP datasets. Our code is available at the project website.

For agents

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

get_harvested_code_for_paper("1904.05547")
get_code_for_paper("1904.05547")
have("1904.05547")

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

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

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

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

Connect an agent — have() is free.