SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1910.06278 · 2019

Distribution-Aware Coordinate Representation for Human Pose Estimation

arXiv · PDF · Open in the Atlas

Code that ran

6 of 9 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 1 has no contract verdict; 5 failures of our instrument; 3 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/1910.06278.json · badge: /api/ran/1910.06278.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
ilovepose/DarkPose canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
Klawens/SwinPose community (classifier label)
classifier basis not recorded on the link
4 ran · 3 no recorded run
FunctionStatusWhere it lives
calc_dists Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Klawens/SwinPose/lib/core/evaluate.py
code served (permissive licence) · get_code("b91b38261b03587d")
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 (3, 2) 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 valid arguments for calc_dists function
# The function expects:
# - preds: array of shape (batch, channels, 2) with predicted coordinates
# - target: array of shape (batch, channels, 2) with target coordinates
# - normalize: array of shape (batch,) with normalization factors

batch_size = 2
num_channels = 3

# Create preds: (batch=2, channels=3, coords=2)
preds = np.random.rand(batch_size, num_channels, 2).astype(np.float32) * 100

# Create target: (batch=2, channels=3, coords=2)
# Use values > 1 to satisfy the condition in the function
target = np.random.rand(batch_size, num_channels, 2).astype(np.float32) * 100 + 2

# Create normalize: (batch=2,) with positive values for normalization
normalize = np.array([10.0, 15.0], dtype=np.float32)

ARGS = {
    'preds': preds,
    'target': target,
    '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 ndarray, ndim 2, dtype family float, shape (3, 2) — shape (3, 2) 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
conv3x3 Ran
ran; our contract draft was wrong, not the code
Klawens/SwinPose/lib/models/pose_hrnet.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from lixiaotong97/DSU, is pointer only (licence: NONE) · get_code("fac5364e2f53c6db")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from lixiaotong97/DSU, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

dist_acc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Klawens/SwinPose/lib/core/evaluate.py
code served (permissive licence) · get_code("1c2da88027e6e151")
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, shape () 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

# Create a sample distance array with some valid values and some -1 values
# The function expects an array where -1 indicates "ignore this value"
dists = np.array([0.2, 0.6, -1, 0.3, 0.8, -1, 0.1, 0.4])

# Create arguments dictionary
ARGS = {
    "dists": dists,
    "thr": 0.5
}
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, 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
gaussian_blur Ran
ran on a synthesized input
Klawens/SwinPose/lib/core/inference.py
code served (permissive licence) · get_code("a81d7a40407a092a")
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, 3, 8, 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 numpy as np
import cv2

# Create a small heatmap array with shape (batch_size, num_joints, height, width)
# Using distinct sizes: batch=2, joints=3, height=8, width=6
batch_size = 2
num_joints = 3
height = 8
width = 6

# Create a random heatmap with values in [0, 1]
hm = np.random.rand(batch_size, num_joints, height, width).astype(np.float32)

# Kernel size must be odd and positive
kernel = 3

ARGS = {
    "hm": hm,
    "kernel": kernel,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, numpy — 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, 3, 8, 6) — shape (2, 3, 8, 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
get_max_preds Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ilovepose/DarkPose/lib/core/inference.py
code served (permissive licence) · get_code("55c58ef5f795e3d1")
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 a small batch of heatmaps
# Shape: (batch_size, num_joints, height, width)
batch_size = 2
num_joints = 3
height = 4
width = 5

# Create realistic heatmap data with values between 0 and 1
np.random.seed(0)
batch_heatmaps = np.random.rand(batch_size, num_joints, height, width).astype(np.float32)

ARGS = {
    'batch_heatmaps': batch_heatmaps
}
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
taylor Ran
ran; our contract draft was wrong, not the code
ilovepose/DarkPose/lib/core/inference.py
code served (permissive licence) · get_code("6700129ef38592b0")
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 1, dtype family float, shape (2,) 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

# Create a heatmap (2D array) with sufficient size to satisfy the bounds check
# The function checks: 1 < px < width - 2 and 1 < py < height - 2
# So we need at least width >= 5 and height >= 5
heatmap = np.random.rand(8, 10).astype(np.float32)

# Create a coordinate within valid bounds
# px must satisfy: 1 < px < 10 - 2 = 8, so px could be 2-7
# py must satisfy: 1 < py < 8 - 2 = 6, so py could be 2-5
coord = np.array([4.0, 3.0])

ARGS = {
    "hm": heatmap,
    "coord": coord
}
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 1, dtype family float, shape (2,) — shape (2,) 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
get_pose_net Not yet run
unverified (harvested, no recorded run)
Klawens/SwinPose/lib/models/pose_hrnet.py
code served (permissive licence) · get_code("78015ae361e585ca")
How it ran

no invocation recorded.

get_pose_net Not yet run
unverified (harvested, no recorded run)
Klawens/SwinPose/lib/models/hourglass.py
code served (permissive licence) · get_code("498dab54632ae89c")
How it ran

no invocation recorded.

get_pose_net Not yet run
unverified (harvested, no recorded run)
Klawens/SwinPose/lib/models/pose_resnet.py
code served (permissive licence) · get_code("dda50630404ba452")
How it ran

no invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 1 the same month, 5 later) and 3 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
conv3x3 686 other papers
163 dated earlier, 5 the same month, 518 later · 31 only as an assembly brick
1406.2661 (2014-06)
Generative Adversarial Networks
1409.0575 (2014-09)
ImageNet Large Scale Visual Recognition Challenge
1412.6572 (2014-12)
Explaining and Harnessing Adversarial Examples
and 683 more not named here
get_max_preds 6 other papers
3 dated earlier, 3 later
1902.09212 (2019-02)
Deep High-Resolution Representation Learning for Human Pose Estimation
1908.10357 (2019-08)
HigherHRNet: Scale-Aware Representation Learning for Bottom-Up Human Pose Estimation
1908.11542 (2019-08)
Satellite Pose Estimation with Deep Landmark Regression and Nonlinear Pose Refinement
and 3 more not named here
calc_dists 5 other papers
3 dated earlier, 2 later
1902.09212 (2019-02)
Deep High-Resolution Representation Learning for Human Pose Estimation
1908.10357 (2019-08)
HigherHRNet: Scale-Aware Representation Learning for Bottom-Up Human Pose Estimation
1908.11542 (2019-08)
Satellite Pose Estimation with Deep Landmark Regression and Nonlinear Pose Refinement
and 2 more not named here
dist_acc 5 other papers
3 dated earlier, 2 later
1902.09212 (2019-02)
Deep High-Resolution Representation Learning for Human Pose Estimation
1908.10357 (2019-08)
HigherHRNet: Scale-Aware Representation Learning for Bottom-Up Human Pose Estimation
1908.11542 (2019-08)
Satellite Pose Estimation with Deep Landmark Regression and Nonlinear Pose Refinement
and 2 more not named here
get_pose_net 5 other papers
4 dated earlier, 1 later
1902.09212 (2019-02)
Deep High-Resolution Representation Learning for Human Pose Estimation
1904.04514 (2019-04)
High-Resolution Representations for Labeling Pixels and Regions
1908.10357 (2019-08)
HigherHRNet: Scale-Aware Representation Learning for Bottom-Up Human Pose Estimation
and 2 more not named here
get_pose_net 1 other paper
1 dated earlier
1908.10357 (2019-08)
HigherHRNet: Scale-Aware Representation Learning for Bottom-Up Human Pose 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

While being the de facto standard coordinate representation in human pose estimation, heatmap is never systematically investigated in the literature, to our best knowledge. This work fills this gap by studying the coordinate representation with a particular focus on the heatmap. Interestingly, we found that the process of decoding the predicted heatmaps into the final joint coordinates in the original image space is surprisingly significant for human pose estimation performance, which nevertheless was not recognised before. In light of the discovered importance, we further probe the design limitations of the standard coordinate decoding method widely used by existing methods, and propose a more principled distribution-aware decoding method. Meanwhile, we improve the standard coordinate encoding process (i.e. transforming ground-truth coordinates to heatmaps) by generating accurate heatmap distributions for unbiased model training. Taking the two together, we formulate a novel Distribution-Aware coordinate Representation of Keypoint (DARK) method. Serving as a model-agnostic plug-in, DARK significantly improves the performance of a variety of state-of-the-art human pose estimation models. Extensive experiments show that DARK yields the best results on two common benchmarks, MPII and COCO, consistently validating the usefulness and effectiveness of our novel coordinate representation idea.

For agents

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

get_harvested_code_for_paper("1910.06278")
get_code_for_paper("1910.06278")
have("1910.06278")

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

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

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

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

Connect an agent — have() is free.