SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2004.13985 · 2020

Motion Guided 3D Pose Estimation from Videos

arXiv · PDF · Open in the Atlas

Code that ran

5 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; 1 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 1 failure of our instrument; 4 no recorded run), measured 2026-11-21; 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/2004.13985.json · badge: /api/ran/2004.13985.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
tamasino52/UGCN community (classifier label)
classifier basis: plan_row
5 ran · 4 no recorded run
FunctionStatusWhere it lives
deterministic_random Ran
ran on a synthesized input
tamasino52/UGCN/common/utils.py
code served (permissive licence) · get_code("ec58bab810b80366")
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. 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 hashlib

def deterministic_random(min_value, max_value, data):
    digest = hashlib.sha256(data.encode()).digest()
    raw_value = int.from_bytes(digest[:4], byteorder='little', signed=False)
    return int(raw_value / (2 ** 32 - 1) * (max_value - min_value)) + min_value

ARGS = {
    "min_value": 1,
    "max_value": 100,
    "data": "test_seed_string"
}
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 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
import_cpn_poses Ran
ran, honoured the contract we drafted
tamasino52/UGCN/dataset/data_utils.py
code served (permissive licence) · get_code("bc1023596f74a55e")
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, 4, 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
import tempfile
import os

# Create a temporary .npz file with the expected structure
temp_dir = tempfile.mkdtemp()
temp_path = os.path.join(temp_dir, "test_poses.npz")

# Create keypoints array with shape (batch=2, num_keypoints=4, features=3)
# The function returns [:, :, :2], so we need at least 2 feature dimensions
# We use 3 to make it distinct
keypoints = np.random.rand(2, 4, 3).astype(np.float32)

# Save to npz file
np.savez(temp_path, keypoints=keypoints)

ARGS = {
    "path": temp_path
}
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, 4, 2) — shape (2, 4, 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
mpjpe_cal Ran
ran on a synthesized input
tamasino52/UGCN/common/utils.py
code served (permissive licence) · get_code("c5148aea3c7b76b6")
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 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 torch

torch.manual_seed(0)

# Create two tensors with the same shape
# Shape: (batch_size=2, num_joints=3, coordinates=4)
# This represents 2 samples, 3 joints each, with 4 coordinate values per joint
predicted = torch.randn(2, 3, 4)
target = torch.randn(2, 3, 4)

ARGS = {
    "predicted": predicted,
    "target": target,
}
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 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
suggest_metadata Ran
ran; our contract draft was wrong, not the code
tamasino52/UGCN/dataset/data_utils.py
code served (permissive licence) · get_code("56891f0e63a3c661")
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 torch
import numpy as np

torch.manual_seed(0)

# Define the metadata dictionaries (copied from the function definition)
mpii_metadata = {'layout_name': 'mpii', 'num_joints': 16, 'keypoints_symmetry': [[3, 4, 5, 13, 14, 15], [0, 1, 2, 10, 11, 12]]}

coco_metadata = {'layout_name': 'coco', 'num_joints': 17, 'keypoints_symmetry': [[1, 3, 5, 7, 9, 11, 13, 15], [2, 4, 6, 8, 10, 12, 14, 16]]}

h36m_metadata = {'layout_name': 'h36m', 'num_joints': 17, 'keypoints_symmetry': [[4, 5, 6, 11, 12, 13], [1, 2, 3, 14, 15, 16]]}

humaneva15_metadata = {'layout_name': 'humaneva15', 'num_joints': 15, 'keypoints_symmetry': [[2, 3, 4, 8, 9, 10], [5, 6, 7, 11, 12, 13]]}

humaneva20_metadata = {'layout_name': 'humaneva20', 'num_joints': 20, 'keypoints_symmetry': [[3, 4, 5, 6, 11, 12, 13, 14], [7, 8, 9, 10, 15, 16, 17, 18]]}

def suggest_metadata(name):
    names = []
    for metadata in [mpii_metadata, coco_metadata, h36m_metadata, humaneva15_metadata, humaneva20_metadata]:
        if metadata['layout_name'] in name:
            return metadata
        names.append(metadata['layout_name'])
    raise KeyError('Cannot infer keypoint layout from name "{}". Tried {}.'.format(name, names))

# Test cases for the function - construct valid arguments
ARGS = {
    'name': 'coco_dataset'
}
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 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
test_calculation Ran
ran on a synthesized input
tamasino52/UGCN/common/utils.py
code served (permissive licence) · get_code("e2a6ec6409f1d71b")
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 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.

import torch
from collections import defaultdict

torch.manual_seed(0)

class ErrorMeter:
    """Simple meter to track error sum and count"""
    def __init__(self):
        self.val = 0.0
        self.count = 0
    
    def update(self, val, n):
        self.val += val
        self.count += n
    
    def __repr__(self):
        return f"ErrorMeter(val={self.val}, count={self.count})"

# Create predicted and target tensors
# Shape: (batch_size=2, num_joints=4, coordinates=3)
predicted = torch.randn(2, 4, 3)
target = torch.randn(2, 4, 3)

# Create action list - can be same action for all or different
action = ["walking", "walking"]

# Create error_sum dict with action names as keys
error_sum = defaultdict(ErrorMeter)
error_sum["walking"] = ErrorMeter()
error_sum["running"] = ErrorMeter()

# data_type and subject are not used in the function body
data_type = "test"
subject = "subject_01"

ARGS = {
    "predicted": predicted,
    "target": target,
    "action": action,
    "error_sum": error_sum,
    "data_type": data_type,
    "subject": subject
}
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 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
import_detectron_poses Not yet run
unverified (harvested, no recorded run)
tamasino52/UGCN/dataset/data_utils.py
code served (permissive licence) · get_code("485aa6accecbf825")
How it ran

no invocation recorded.

normalize_screen_coordinates Not yet run
unverified (harvested, no recorded run)
tamasino52/UGCN/common/camera.py
pointer only (licence: MIT); the stored copy get_code serves, from JihuaPeng/KTPFormer, is pointer only (licence: NONE) · get_code("82baf6aa4fb040a1")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from JihuaPeng/KTPFormer, 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. No invocation recorded.

world_to_camera Not yet run
unverified (harvested, no recorded run)
tamasino52/UGCN/common/camera.py
code served (permissive licence) · get_code("32eca53ede0ea499")
How it ran

no invocation recorded.

wrap Not yet run
unverified (harvested, no recorded run)
tamasino52/UGCN/common/camera.py
code served (permissive licence) · get_code("b3f2b7335c454f2e")
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, 8 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 8 later) and 1 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
normalize_screen_coordinates 10 other papers
1 dated earlier, 9 later
1904.03345 (2019-04)
Semantic Graph Convolutional Networks for 3D Human Pose Regression
2103.14304 (2021-03)
Exploiting Temporal Contexts with Strided Transformer for 3D Human Pose Estimation
2111.12707 (2021-11)
MHFormer: Multi-Hypothesis Transformer for 3D Human Pose Estimation
and 7 more not named here
world_to_camera 4 other papers
4 later
2103.14304 (2021-03)
Exploiting Temporal Contexts with Strided Transformer for 3D Human Pose Estimation
2111.12707 (2021-11)
MHFormer: Multi-Hypothesis Transformer for 3D Human Pose Estimation
2206.06420 (2022-06)
GraphMLP: A Graph MLP-Like Architecture for 3D Human Pose Estimation
and 1 more not named here
deterministic_random 3 other papers
3 later
2103.14304 (2021-03)
Exploiting Temporal Contexts with Strided Transformer for 3D Human Pose Estimation
2111.12707 (2021-11)
MHFormer: Multi-Hypothesis Transformer for 3D Human Pose Estimation
aaai_28549 (2024 (year only))
Deep Semantic Graph Transformer for Multi-View 3D Human Pose Estimation
mpjpe_cal 3 other papers
3 later
2103.14304 (2021-03)
Exploiting Temporal Contexts with Strided Transformer for 3D Human Pose Estimation
2111.12707 (2021-11)
MHFormer: Multi-Hypothesis Transformer for 3D Human Pose Estimation
aaai_28549 (2024 (year only))
Deep Semantic Graph Transformer for Multi-View 3D Human Pose Estimation
wrap 2 other papers
2 later
2007.09389 (2020-07)
SRNet: Improving Generalization in 3D Human Pose Estimation with a Split-and-Recombine Approach
2310.16288 (2023-10)
MotionAGFormer: Enhancing 3D Human Pose Estimation with a Transformer-GCNFormer Network
import_cpn_poses 1 other paper
1 later
2107.07797 (2021-07)
Conditional Directed Graph Convolution for 3D Human Pose Estimation
import_detectron_poses 1 other paper
1 later
2107.07797 (2021-07)
Conditional Directed Graph Convolution for 3D Human Pose Estimation
suggest_metadata 1 other paper
1 later
2107.07797 (2021-07)
Conditional Directed Graph Convolution for 3D 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-21.

Repositories linked to this paper

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

Abstract

We propose a new loss function, called motion loss, for the problem of monocular 3D Human pose estimation from 2D pose. In computing motion loss, a simple yet effective representation for keypoint motion, called pairwise motion encoding, is introduced. We design a new graph convolutional network architecture, U-shaped GCN (UGCN). It captures both short-term and long-term motion information to fully leverage the additional supervision from the motion loss. We experiment training UGCN with the motion loss on two large scale benchmarks: Human3.6M and MPI-INF-3DHP. Our model surpasses other state-of-the-art models by a large margin. It also demonstrates strong capacity in producing smooth 3D sequences and recovering keypoint motion.

For agents

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

get_harvested_code_for_paper("2004.13985")
get_code_for_paper("2004.13985")
have("2004.13985")

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

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

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

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

Connect an agent — have() is free.