SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2204.14109 · ECCV · 2022

TEMOS: Generating diverse human motions from textual descriptions

Michael Black, Gül Varol, Mathis Petrovich

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 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; 4 failures of our instrument; 2 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/2204.14109.json · badge: /api/ran/2204.14109.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
Mathux/TEMOS marked official in Papers with Code
Papers with Code archive
5 ran · 2 no recorded run
FunctionStatusWhere it lives
BaseModel Ran
ran on a synthesized input · constructed an object; no result was computed
Mathux/TEMOS/temos/model/temos.py
code served (permissive licence) · get_code("9fe0c956aa5a444b")
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 an instance of its own class, BaseModel: the run constructed the object and did not call it, so no result was computed. 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
import numpy as np
from pytorch_lightning import LightningModule
from unittest.mock import MagicMock

torch.manual_seed(0)

class DummyLoss(nn.Module):
    def __init__(self):
        super().__init__()
        self.loss_value = torch.tensor(0.5)
    
    def compute(self, split):
        return {'loss': self.loss_value}
    
    def loss2logname(self, loss, split):
        return f"{split}/{loss}"

class DummyMetrics:
    def compute(self):
        return {'accuracy': 0.95, 'f1': 0.92}

class DummyOptimizer:
    def __init__(self, params):
        self.param_groups = [{'params': list(params)}]

class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

class ConcreteBaseModel(LightningModule):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)
        self.save_hyperparameters(logger=False)
        self.model = SimpleModel()
        self.losses = {'train': DummyLoss(), 'val': DummyLoss(), 'test': DummyLoss()}
        self.metrics = DummyMetrics()
        self.optimizer = DummyOptimizer(self.parameters())
        self.__post_init__()
    
    def __post_init__(self):
        trainable, nontrainable = (0, 0)
        for p in self.parameters():
            if p.requires_grad:
                trainable += np.prod(p.size())
            else:
                nontrainable += np.prod(p.size())
        self.hparams.n_params_trainable = trainable
        self.hparams.n_params_nontrainable = nontrainable
    
    def allsplit_step(self, split, batch, batch_idx):
        return torch.tensor(0.5)
    
    def training_step(self, batch, batch_idx):
        return self.allsplit_step('train', batch, batch_idx)
    
    def validation_step(self, batch, batch_idx):
        return self.allsplit_step('val', batch, batch_idx)
    
    def test_step(self, batch, batch_idx):
        return self.allsplit_step('test', batch, batch_idx)
    
    def allsplit_epoch_end(self, split: str, outputs):
        losses = self.losses[split]
        loss_dict = losses.compute(split)
        dico = {losses.loss2logname(loss, split): value.item() for loss, value in loss_dict.items()}
        if split == 'val':
            metrics_dict = self.metrics.compute()
            dico.update({f'Metrics/{metric}': value for metric, value in metrics_dict.items()})
        dico.update({'epoch': float(self.trainer.current_epoch), 'step': float(self.trainer.current_epoch)})
        self.log_dict(dico)
    
    def training_epoch_end(self, outputs):
        return self.allsplit_epoch_end('train', outputs)
    
    def validation_epoch_end(self, outputs):
        return self.allsplit_epoch_end('val', outputs)
    
    def test_epoch_end(self, outputs):
        return self.allsplit_epoch_end('test', outputs)
    
    def configure_optimizers(self):
        return {'optimizer': self.optimizer}

ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pytorch_lightning, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type BaseModel — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a BaseModel 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
l2_norm Ran
ran; our contract draft was wrong, not the code
Mathux/TEMOS/temos/model/temos.py
code served (permissive licence) · get_code("840f427610121a9d")
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 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 torch

torch.manual_seed(0)

# Create two small tensors for comparison
x1 = torch.randn(2, 4)  # batch size 2, dimension 4
x2 = torch.randn(2, 4)  # batch size 2, dimension 4

# dim parameter specifies which dimension to compute the norm over
dim = 1

ARGS = {
    "x1": x1,
    "x2": x2,
    "dim": dim
}
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 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
matrix_of_angles Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Mathux/TEMOS/temos/model/temos.py
code served (permissive licence) · get_code("e5840ca8045beb48")
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 4, dtype family float, shape (2, 4, 2, 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 torch

torch.manual_seed(0)

# Create small tensors for cos and sin
# The function stacks these, so they should have a batch dimension
cos = torch.randn(2, 4)  # batch_size=2, some feature dim=4
sin = torch.randn(2, 4)  # same shape as cos

ARGS = {
    "cos": cos,
    "sin": sin,
    "inv": False,
    "dim": 2,
}
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 4, dtype family float, shape (2, 4, 2, 2) — shape (2, 4, 2, 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
remove_padding Ran
ran; our contract draft was wrong, not the code
Mathux/TEMOS/temos/model/temos.py
code served (permissive licence) · get_code("6bc33934bce796a9")
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 list. 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

torch.manual_seed(0)

# The function remove_padding takes:
# - tensors: an iterable of tensors
# - lengths: an iterable of tensor lengths (integers)
# It zips them together and slices each tensor to the specified length

# Create sample tensors with different lengths
tensor1 = torch.randn(5, 4)  # 5 rows, 4 columns
tensor2 = torch.randn(3, 4)  # 3 rows, 4 columns

tensors = [tensor1, tensor2]

# Corresponding lengths to slice to
lengths = [3, 2]

ARGS = {
    "tensors": tensors,
    "lengths": lengths,
}
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 list — a list 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
variance Ran
ran; our contract draft was wrong, not the code
Mathux/TEMOS/temos/model/temos.py
code served (permissive licence) · get_code("6ffe6eb8f867a2e8")
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 1, dtype family float, shape (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

torch.manual_seed(0)

# x: tensor that will have mean computed and variance calculated
# Operations: x.mean(dim), x - mean (broadcasting), (x - mean) ** 2, .sum(dim), / (T - 1)
# Shape should support mean/sum operations along a dimension
x = torch.randn(2, 4)

# T: scalar used for division (T - 1) in denominator
# Should be an integer representing sample size
T = 2

# dim: dimension along which to compute mean and sum
# Should be a valid dimension index (0 or 1 for a 2D tensor)
dim = 0

ARGS = {
    "x": x,
    "T": T,
    "dim": dim
}
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 1, dtype family float, shape (4,) — shape (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
ComputeMetrics Not yet run
unverified (harvested, no recorded run)
Mathux/TEMOS/temos/model/temos.py
code served (permissive licence) · get_code("9d384a28631fdf57")
How it ran

no invocation recorded.

TEMOS Not yet run
unverified (harvested, no recorded run)
Mathux/TEMOS/temos/model/temos.py
code served (permissive licence) · get_code("e0d65b0a859550f0")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 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.

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

We address the problem of generating diverse 3D human motions from textual descriptions. This challenging task requires joint modeling of both modalities: understanding and extracting useful humancentric information from the text, and then generating plausible and realistic sequences of human poses. In contrast to most previous work which focuses on generating a single, deterministic, motion from a textual description, we design a variational approach that can produce multiple diverse human motions. We propose TEMOS, a text-conditioned generative model leveraging variational autoencoder (VAE) training with human motion data, in combination with a text encoder that produces distribution parameters compatible with the VAE latent space. We show the TEMOS framework can produce both skeleton-based animations as in prior work, as well more expressive SMPL body motions. We evaluate our approach on the KIT Motion-Language benchmark and, despite being relatively straightforward, demonstrate significant improvements over the state of the art. Code and models are available on our webpage.

For agents

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

get_harvested_code_for_paper("2204.14109")
get_code_for_paper("2204.14109")
have("2204.14109")

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

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

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

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

Connect an agent — have() is free.