SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2110.00990 · ICCV · 2021

Hierarchical Kinematic Probability Distributions for 3D Human Shape and Pose Estimation from Images in the Wild

Roberto Cipolla, Ignas Budvytis, Akash Sengupta

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 2 have no contract verdict; 4 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/2110.00990.json · badge: /api/ran/2110.00990.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
akashsengupta1997/hierarchicalprobabilistic3dhuman marked official in Papers with Code
Papers with Code archive
6 ran · 5 no recorded run
FunctionStatusWhere it lives
BasicBlock Ran
ran on a synthesized input
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("e8786ae7bf328e92")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, dtype family float, shape (2, 8, 8, 8) 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
from torch import nn as nn

def conv3x3(in_planes, out_planes, stride=1, groups=1, dilation=1):
    """3x3 convolution with padding"""
    return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride, padding=dilation, groups=groups, bias=False, dilation=dilation)

class BasicBlock(nn.Module):
    expansion = 1
    __constants__ = ['downsample']

    def __init__(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1, norm_layer=None):
        super(BasicBlock, self).__init__()
        if norm_layer is None:
            norm_layer = nn.BatchNorm2d
        if groups != 1 or base_width != 64:
            raise ValueError('BasicBlock only supports groups=1 and base_width=64')
        if dilation > 1:
            raise NotImplementedError('Dilation > 1 not supported in BasicBlock')
        self.conv1 = conv3x3(inplanes, planes, stride)
        self.bn1 = norm_layer(planes)
        self.relu = nn.ReLU(inplace=True)
        self.conv2 = conv3x3(planes, planes)
        self.bn2 = norm_layer(planes)
        self.downsample = downsample
        self.stride = stride

    def forward(self, x):
        identity = x
        out = self.conv1(x)
        out = self.bn1(out)
        out = self.relu(out)
        out = self.conv2(out)
        out = self.bn2(out)
        if self.downsample is not None:
            identity = self.downsample(x)
        out += identity
        out = self.relu(out)
        return out

# Create a simple downsample module for stride > 1
downsample_module = nn.Sequential(
    nn.Conv2d(4, 8, kernel_size=1, stride=2, bias=False),
    nn.BatchNorm2d(8)
)

INIT_ARGS = {
    'inplanes': 4,
    'planes': 8,
    'stride': 2,
    'downsample': downsample_module,
    'groups': 1,
    'base_width': 64,
    'dilation': 1,
    'norm_layer': nn.BatchNorm2d
}

# Input tensor: batch_size=2, channels=4, height=16, width=16
ARGS = {
    'x': torch.randn(2, 4, 16, 16)
}

if __name__ == '__main__':
    block = BasicBlock(**INIT_ARGS)
    output = block(**ARGS)
    print(f"Output shape: {output.shape}")
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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, 8, 8, 8) — shape (2, 8, 8, 8) 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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
Bottleneck Ran
ran on a synthesized input
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("c30c22b8fd27de76")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned Tensor, ndim 4, 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 torch
import torch.nn as nn

def conv1x1(in_planes, out_planes, stride=1):
    """1x1 convolution"""
    return nn.Conv2d(in_planes, out_planes, kernel_size=1, stride=stride, bias=False)

def conv3x3(in_planes, out_planes, stride=1, groups=1, dilation=1):
    """3x3 convolution with padding"""
    return nn.Conv2d(in_planes, out_planes, kernel_size=3, stride=stride, padding=dilation, groups=groups, bias=False, dilation=dilation)

class Bottleneck(nn.Module):
    expansion = 4
    __constants__ = ['downsample']

    def __init__(self, inplanes, planes, stride=1, downsample=None, groups=1, base_width=64, dilation=1, norm_layer=None):
        super(Bottleneck, self).__init__()
        if norm_layer is None:
            norm_layer = nn.BatchNorm2d
        width = int(planes * (base_width / 64.0)) * groups
        self.conv1 = conv1x1(inplanes, width)
        self.bn1 = norm_layer(width)
        self.conv2 = conv3x3(width, width, stride, groups, dilation)
        self.bn2 = norm_layer(width)
        self.conv3 = conv1x1(width, planes * self.expansion)
        self.bn3 = norm_layer(planes * self.expansion)
        self.relu = nn.ReLU(inplace=True)
        self.downsample = downsample
        self.stride = stride

    def forward(self, x):
        identity = x
        out = self.conv1(x)
        out = self.bn1(out)
        out = self.relu(out)
        out = self.conv2(out)
        out = self.bn2(out)
        out = self.relu(out)
        out = self.conv3(out)
        out = self.bn3(out)
        if self.downsample is not None:
            identity = self.downsample(x)
        out += identity
        out = self.relu(out)
        return out

inplanes = 16
planes = 8
stride = 1

downsample = nn.Sequential(
    conv1x1(inplanes, planes * Bottleneck.expansion, stride),
    nn.BatchNorm2d(planes * Bottleneck.expansion)
)

INIT_ARGS = {
    'inplanes': inplanes,
    'planes': planes,
    'stride': stride,
    'downsample': downsample,
    'groups': 1,
    'base_width': 64,
    'dilation': 1,
    'norm_layer': None
}

ARGS = {
    'x': torch.randn(2, 16, 7, 7)
}
Setup block drafted by
a language model, class construct-then-call prompt, model not recorded
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 — no output shape is stated: observe_signature.py observed this class with its constructor sizes canonicalised where it could, which the node does not record, so its shape is not stated as this setup block's
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: torch and numpy seeded to 0 by the harness immediately before the class was constructed from INIT_ARGS (fixture_check.py)
conv1x1 Ran
ran; our contract draft was wrong, not the code
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("5424e5b21df4db41")
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 Conv2d. 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 torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "in_planes": 64,
    "out_planes": 128,
    "stride": 1,
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
conv3x3 Ran
ran; our contract draft was wrong, not the code
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("76fdd94bb075ca26")
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 Conv2d. 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 torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "in_planes": 3,
    "out_planes": 64,
    "stride": 1,
    "groups": 1,
    "dilation": 1,
}
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 Conv2d — a Conv2d output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Conv2d 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
immediate_parents_to_all_parents Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("688d1f0421d66849")
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 defaultdict. 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.

from collections import defaultdict
import torch

torch.manual_seed(0)

# Analyzing the function:
# - immediate_parents is indexed with range(1, len(immediate_parents))
# - Each element is accessed as immediate_parents[i]
# - The values are used in arithmetic (immediate_parents[i] - 1)
# - Values can be >= 0 or < 0
# - This appears to be a list/array of integers representing parent indices

# Create a simple list of integers representing parent indices
# Index 0 is not used (loop starts at 1)
# Values represent parent node indices (0-indexed after subtracting 1)
immediate_parents = [0, 2, 1, 3, 0]  # Example: node 1 has parent 1 (index 0), node 2 has parent 0, etc.

ARGS = {
    "immediate_parents": immediate_parents
}
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 defaultdict — a defaultdict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a defaultdict 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
rotmat_to_rot6d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("be4988bcecbd6579")
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 2, dtype family float, shape (2, 6) 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 batch of 2 rotation matrices (3x3 each)
# Shape: (B=2, 3, 3)
R = torch.randn(2, 3, 3)

# Normalize to make valid rotation matrices (orthogonal)
U, _, Vt = torch.svd(R)
R = U @ Vt

ARGS = {
    "R": R,
    "stack_columns": False
}
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 2, dtype family float, shape (2, 6) — shape (2, 6) 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
PoseMFShapeGaussianNet Not yet run
unverified (harvested, no recorded run)
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("8e25a50379d6e80c")
How it ran

no invocation recorded.

ResNet Not yet run
unverified (harvested, no recorded run)
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("b71c2cddf23fd677")
How it ran

no invocation recorded.

_resnet Not yet run
unverified (harvested, no recorded run)
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("3f598b597dbd6e90")
How it ran

no invocation recorded.

resnet18 Not yet run
unverified (harvested, no recorded run)
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("937d139408dd02ec")
How it ran

no invocation recorded.

resnet50 Not yet run
unverified (harvested, no recorded run)
akashsengupta1997/hierarchicalprobabilistic3dhuman/models/poseMF_shapeGaussian_net.py
code served (permissive licence) · get_code("da61eb0bc6999d45")
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, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 2 the same month, 5 later) and 6 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
conv1x1
brick of this paper's assembly: helper
431 other papers
149 dated earlier, 4 the same month, 272 later, 5 same year, order not determinable, 1 undated · 38 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1506.01186 (2015-06)
Cyclical Learning Rates for Training Neural Networks
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
and 428 more not named here
conv3x3
brick of this paper's assembly: helper
312 other papers
91 dated earlier, 4 the same month, 213 later, 3 same year, order not determinable, 1 undated · 31 only as an assembly brick
1409.1556 (2014-09)
Very Deep Convolutional Networks for Large-Scale Image Recognition
1507.05717 (2015-07)
An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognition
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
and 309 more not named here
BasicBlock
brick of this paper's assembly: helper
9 other papers
4 dated earlier, 5 later · 5 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
2002.05709 (2020-02)
A Simple Framework for Contrastive Learning of Visual Representations
2104.10475 (2021-04)
Camouflaged Object Segmentation with Distraction Mining
and 6 more not named here
Bottleneck
brick of this paper's assembly: helper
7 other papers
2 dated earlier, 5 later · 2 only as an assembly brick
1512.03385 (2015-12)
Deep Residual Learning for Image Recognition
2104.10475 (2021-04)
Camouflaged Object Segmentation with Distraction Mining
2204.04662 (2022-04)
FOSTER: Feature Boosting and Compression for Class-Incremental Learning
and 4 more not named here
resnet18
brick of this paper's assembly: helper
3 other papers
2 dated earlier, 1 later
2009.10013 (2020-09)
Synthetic Training for Accurate 3D Human Pose and Shape Estimation in the Wild
2108.00351 (2021-08)
LASOR: Learning Accurate 3D Human Pose and Shape Via Synthetic Occlusion-Aware Data and Neural Mesh Rendering
2305.06968 (2023-05)
HuManiFlow: Ancestor-Conditioned Normalising Flows on SO(3) Manifolds for Human Pose and Shape Distribution Estimation

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

This paper addresses the problem of 3D human body shape and pose estimation from an RGB image. This is often an ill-posed problem, since multiple plausible 3D bodies may match the visual evidence present in the input -particularly when the subject is occluded. Thus, it is desirable to estimate a distribution over 3D body shape and pose conditioned on the input image instead of a single 3D reconstruction. We train a deep neural network to estimate a hierarchical matrix-Fisher distribution over relative 3D joint rotation matrices (i.e. body pose), which exploits the human body's kinematic tree structure, as well as a Gaussian distribution over SMPL body shape parameters. To further ensure that the predicted shape and pose distributions match the visual evidence in the input image, we implement a differentiable rejection sampler to impose a reprojection loss between ground-truth 2D joint coordinates and samples from the predicted distributions, projected onto the image plane. We show that our method is competitive with the state-of-the-art in terms of 3D shape and pose metrics on the SSP-3D and 3DPW datasets, while also yielding a structured probability distribution over 3D body shape and pose, with which we can meaningfully quantify prediction uncertainty and sample multiple plausible 3D reconstructions to explain a given input image.

For agents

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

get_harvested_code_for_paper("2110.00990")
get_code_for_paper("2110.00990")
have("2110.00990")

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

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

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

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

Connect an agent — have() is free.