SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1803.10683 · 2018

Pose2Seg: Detection Free Human Instance Segmentation

arXiv · PDF · Open in the Atlas

Code that ran

14 of 16 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 14 have no contract verdict; 0 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/1803.10683.json · badge: /api/ran/1803.10683.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
liruilong940607/Pose2Seg canonical (classifier label)
classifier basis: census
11 ran · 2 no recorded run
liruilong940607/OCHumanApi canonical (classifier label)
classifier basis: census
3 ran · 0 no recorded run
FunctionStatusWhere it lives
adjust_learning_rate Ran
ran on a synthesized input
liruilong940607/Pose2Seg/lib/torch_utils.py
code served (permissive licence) · get_code("5f9acf5c73a56bba")
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 float, 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
import torch.nn as nn
from torch.optim import SGD

torch.manual_seed(0)

# Create a simple model
model = nn.Linear(4, 3)

# Create an optimizer with the model parameters
optimizer = SGD(model.parameters(), lr=0.0001)

# Define arguments for adjust_learning_rate
ARGS = {
    'optimizer': optimizer,
    'iteration': 100,
    'BASE_LR': 0.0001,
    'WARM_UP_FACTOR': 1.0 / 3.0,
    'WARM_UP_ITERS': 500,
    'STEPS': [0, 60000, 80000],
    'GAMMA': 0.1
}
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 float, 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
affine_align_gpu Ran
ran on a synthesized input
liruilong940607/Pose2Seg/modeling/affine_align.py
code served (permissive licence) · get_code("3adc733362acbc3a")
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, 4, 4) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
import numpy as np
from torch.autograd import Variable
import torch.nn.functional as F

torch.manual_seed(0)

# Create small sample tensors and data structures
batch_size = 2
C_feat = 4
H_feat = 8
W_feat = 8
align_size = (4, 4)

# features: (batch_size, channels, height, width)
features = torch.randn(batch_size, C_feat, H_feat, W_feat)

# idxs: indices to select from batch
idxs = [0, 1]

# Hs: affine transformation matrices
# Shape should be (N, 2, 3) where N is number of transforms
N = 2
Hs = np.random.randn(N, 2, 3).astype(np.float32)

ARGS = {
    'features': features,
    'idxs': idxs,
    'align_size': align_size,
    'Hs': Hs
}
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 Tensor, ndim 4, dtype family float, shape (2, 4, 4, 4) — shape (2, 4, 4, 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
cluster_zixi Ran
ran on a synthesized input
liruilong940607/Pose2Seg/cluster_pose.py
code served (permissive licence) · get_code("b4424a7aa52699a1")
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
from scipy.cluster import vq

# Read the function to understand what it expects:
# - kpts: should be array-like, gets converted to np.array
#   The function accesses kpts[:, :, 2] so it needs 3D shape
#   It reshapes to (len(kpts), -1), so first dim is batch
# - cat_num: integer, number of clusters for kmeans2

# Create kpts as a 3D numpy array
# Shape: (batch_size=2, num_points=3, features=3)
# The third dimension [2] is accessed, so we need at least 3 features
# Feature index 2 will be our "validity" flag (0 or 1)
kpts = np.array([
    [[1.0, 2.0, 1.0], [3.0, 4.0, 0.0], [5.0, 6.0, 1.0]],
    [[7.0, 8.0, 0.0], [9.0, 10.0, 1.0], [11.0, 12.0, 1.0]]
], dtype=np.float64)

# cat_num: number of clusters (should be less than number of samples)
cat_num = 2

ARGS = {
    "kpts": kpts,
    "cat_num": cat_num
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, scipy — 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
draw_bbox Ran
ran on a synthesized input
liruilong940607/OCHumanApi/ochumanApi/vis.py
code served (permissive licence) · get_code("7ea3f744b9047938")
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 int, shape (100, 100, 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 cv2
import numpy as np

# Create a small image (100x100 RGB)
img = np.zeros((100, 100, 3), dtype=np.uint8)

# Add some simple content to make the image non-trivial
img[20:80, 20:80] = [100, 150, 200]

# Define bounding box as [x1, y1, x2, y2]
bbox = [10, 15, 85, 90]

ARGS = {
    "img": img,
    "bbox": bbox,
    "thickness": 3,
    "color": (255, 0, 0)
}
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 3, dtype family int, shape (100, 100, 3) — shape (100, 100, 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
draw_mask Ran
ran on a synthesized input
liruilong940607/OCHumanApi/ochumanApi/vis.py
code served (permissive licence) · get_code("ac93919e94bebaf3")
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 int, shape (100, 80, 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 cv2
import numpy as np

# Create a small test image (height=100, width=80, channels=3 for BGR)
img = np.random.randint(0, 256, size=(100, 80, 3), dtype=np.uint8)

# Create a mask (same height/width as image, single channel)
mask = np.zeros((100, 80), dtype=np.uint8)
# Add some white regions to the mask
mask[20:40, 10:30] = 255
mask[60:80, 50:70] = 200

# Define thickness parameter
thickness = 3

# Define color parameter (BGR format)
color = (255, 0, 0)

ARGS = {
    "img": img,
    "mask": mask,
    "thickness": thickness,
    "color": color
}
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 3, dtype family int, shape (100, 80, 3) — shape (100, 80, 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
draw_skeleton Ran
ran on a synthesized input
liruilong940607/OCHumanApi/ochumanApi/vis.py
code served (permissive licence) · get_code("0270566392d20661")
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 int, shape (480, 640, 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 cv2
import numpy as np
import math

# Create a small test image (BGR format, as OpenCV uses)
img = np.ones((480, 640, 3), dtype=np.uint8) * 255

# Create keypoints for 17-part skeleton (COCO format)
# Each keypoint is [x, y, visibility]
# visibility: 0=missing, 1=not_visible, 2=visible
kpt_17 = [
    [100, 150, 2],  # nose
    [95, 140, 2],   # left_eye
    [105, 140, 2],  # right_eye
    [90, 135, 2],   # left_ear
    [110, 135, 2],  # right_ear
    [80, 250, 2],   # left_shoulder
    [120, 250, 2],  # right_shoulder
    [75, 320, 2],   # left_elbow
    [125, 320, 2],  # right_elbow
    [70, 390, 2],   # left_wrist
    [130, 390, 2],  # right_wrist
    [85, 350, 2],   # left_hip
    [115, 350, 2],  # right_hip
    [80, 420, 2],   # left_knee
    [120, 420, 2],  # right_knee
    [75, 480, 2],   # left_ankle
    [125, 480, 2],  # right_ankle
]

# Default connection and colors will be used if None
connection = None
colors = None

# Bbox can be None (computed automatically) or specified
bbox = None

ARGS = {
    'img': img,
    'kpt': kpt_17,
    'connection': connection,
    'colors': colors,
    'bbox': bbox,
}
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 3, dtype family int, shape (480, 640, 3) — shape (480, 640, 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
draw_skeleton Ran
ran on a synthesized input
liruilong940607/Pose2Seg/cluster_pose.py
code served (permissive licence) · get_code("28182a3c822c54b8")
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 (200, 200) 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 normalized keypoints
# The function expects normed_kpts with shape (num_keypoints, 3) where last dim is [x, y, visibility]
normed_kpts = np.array([
    [0.1, 0.2, 1.0],   # keypoint 0
    [0.15, 0.25, 1.0], # keypoint 1
    [0.2, 0.3, 1.0],   # keypoint 2
    [0.25, 0.35, 0.8], # keypoint 3
    [0.3, 0.4, 0.9],   # keypoint 4
    [0.35, 0.45, 1.0], # keypoint 5
    [0.4, 0.5, 1.0],   # keypoint 6
    [0.45, 0.55, 1.0], # keypoint 7
    [0.5, 0.6, 0.95],  # keypoint 8
    [0.55, 0.65, 1.0], # keypoint 9
    [0.6, 0.7, 0.85],  # keypoint 10
    [0.65, 0.75, 1.0], # keypoint 11
    [0.3, 0.5, 1.0],   # keypoint 12
    [0.4, 0.55, 1.0],  # keypoint 13
    [0.35, 0.45, 1.0], # keypoint 14
    [0.42, 0.52, 1.0], # keypoint 15 (special point)
    [0.38, 0.48, 1.0], # keypoint 16
    [0.43, 0.53, 1.0], # keypoint 17
], dtype=np.float32)

ARGS = {
    "normed_kpts": normed_kpts,
    "h": 200,
    "w": 200,
    "vis_threshold": 0.5,
    "is_normed": True,
    "returnimg": True,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
cv2, matplotlib, 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 (200, 200) — shape (200, 200) 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
masks2bboxes Ran
ran on a synthesized input
liruilong940607/Pose2Seg/lib/np_utils.py
code served (permissive licence) · get_code("cb93dd0e2cf85645")
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, 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 numpy as np

# Create sample masks
# The function expects masks as (N, H, W) or list of (H, W)
# Let's create a numpy array of shape (2, 4, 3) - 2 masks, 4 height, 3 width
mask1 = np.array([
    [0.0, 0.0, 0.0],
    [0.0, 0.8, 0.8],
    [0.0, 0.8, 0.8],
    [0.0, 0.0, 0.0]
], dtype=np.float32)

mask2 = np.array([
    [0.9, 0.9, 0.0],
    [0.9, 0.9, 0.0],
    [0.0, 0.0, 0.0],
    [0.0, 0.0, 0.0]
], dtype=np.float32)

masks = np.array([mask1, mask2], dtype=np.float32)

ARGS = {
    "masks": masks
}
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, 4) — shape (2, 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
pad Ran
ran on a synthesized input
liruilong940607/Pose2Seg/lib/np_utils.py
code served (permissive licence) · get_code("06275974c5bef2dc")
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 int, shape (7, 10, 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 cv2
import numpy as np

# Create a small test image (4x3 with 3 channels for BGR)
img = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)

# Define padding as [top, bottom, left, right]
padding = [1, 2, 3, 4]

# Define value for padding
value = 128

# Define border type
borderType = cv2.BORDER_CONSTANT

ARGS = {
    "img": img,
    "padding": padding,
    "value": value,
    "borderType": borderType
}
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 3, dtype family int, shape (7, 10, 3) — shape (7, 10, 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
resize_keep_ratio Ran
ran on a synthesized input
liruilong940607/Pose2Seg/lib/np_utils.py
code served (permissive licence) · get_code("856af44302c4de93")
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 int, shape (8, 6, 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 cv2

# Create a small test image (4x3 RGB image)
test_img = np.random.randint(0, 256, (4, 3, 3), dtype=np.uint8)

ARGS = {
    'img': test_img,
    'size': 8,
    'mode': 'max',
    'interpolation': cv2.INTER_LINEAR
}
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 3, dtype family int, shape (8, 6, 3) — shape (8, 6, 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
solve_affinematrix Ran
ran on a synthesized input
liruilong940607/Pose2Seg/modeling/core.py
code served (permissive licence) · get_code("ca039bc7733a9c29")
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

# Create small sample data for source and destination points
# Using (N, 2) shaped arrays as required by the function
src = np.array([
    [0.0, 0.0],
    [10.0, 0.0],
    [0.0, 10.0],
    [10.0, 10.0]
], dtype=np.float32)

dst = np.array([
    [1.0, 1.0],
    [11.0, 1.0],
    [1.0, 11.0],
    [11.0, 11.0]
], dtype=np.float32)

ARGS = {
    'src': src,
    'dst': dst,
    'fullAffine': False
}
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 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
to_np Ran
ran on a synthesized input
liruilong940607/Pose2Seg/lib/torch_utils.py
code served (permissive licence) · get_code("b0526d917e08136a")
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, 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
import numpy as np

torch.manual_seed(0)

# Create a small tensor on CPU
tensor = torch.randn(2, 4)

ARGS = {
    'tensor': tensor
}
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, 4) — shape (2, 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
to_var Ran
ran on a synthesized input
liruilong940607/Pose2Seg/lib/torch_utils.py
code served (permissive licence) · get_code("f62d83b95f3740c6")
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 2, dtype family float, shape (2, 4) as a later run recorded it. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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
from torch.autograd import Variable

torch.manual_seed(0)

# Create test data
numpy_array = np.random.randn(2, 4).astype(np.float32)
torch_tensor = torch.randn(3, 5)

ARGS = {
    "arr": numpy_array,
    "requires_grad": False,
    "is_cuda": False
}
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 Tensor, ndim 2, dtype family float, shape (2, 4) — shape (2, 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
warpAffinePoints Ran
ran on a synthesized input
liruilong940607/Pose2Seg/lib/transforms.py
code served (permissive licence) · get_code("e5661f2323631e7b")
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 (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

# Construct valid arguments for warpAffinePoints
# The function takes:
# - pts: array-like of points (N, 2) to be transformed
# - H: affine transformation matrix of shape (2, 3) or (3, 3)

# Create sample points (4 points with x, y coordinates)
pts = np.array([
    [0.0, 0.0],
    [1.0, 0.0],
    [1.0, 1.0],
    [0.0, 1.0]
], dtype=np.float32)

# Create an affine transformation matrix (2, 3)
# This represents a simple transformation like translation and rotation
H = np.array([
    [1.0, 0.0, 0.5],  # x transformation
    [0.0, 1.0, 0.5]   # y transformation
], dtype=np.float32)

ARGS = {
    'pts': pts,
    'H': H
}
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 (4, 2) — shape (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
get_affine_matrix Not yet run
unverified (harvested, no recorded run)
liruilong940607/Pose2Seg/lib/transforms.py
code served (permissive licence) · get_code("97b06bbd92908d15")
How it ran

no invocation recorded.

get_aug_matrix Not yet run
unverified (harvested, no recorded run)
liruilong940607/Pose2Seg/lib/transforms.py
code served (permissive licence) · get_code("929bb26e108c70d6")
How it ran

no invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 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 16 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

The standard approach to image instance segmentation is to perform the object detection first, and then segment the object from the detection bounding-box. More recently, deep learning methods like Mask R-CNN perform them jointly. However, little research takes into account the uniqueness of the "human" category, which can be well defined by the pose skeleton. Moreover, the human pose skeleton can be used to better distinguish instances with heavy occlusion than using bounding-boxes. In this paper, we present a brand new pose-based instance segmentation framework for humans which separates instances based on human pose, rather than proposal region detection. We demonstrate that our pose-based framework can achieve better accuracy than the state-of-art detection-based approach on the human instance segmentation problem, and can moreover better handle occlusion. Furthermore, there are few public datasets containing many heavily occluded humans along with comprehensive annotations, which makes this a challenging problem seldom noticed by researchers. Therefore, in this paper we introduce a new benchmark "Occluded Human (OCHuman)", which focuses on occluded humans with comprehensive annotations including bounding-box, human pose and instance masks. This dataset contains 8110 detailed annotated human instances within 4731 images. With an average 0.67 MaxIoU for each person, OCHuman is the most complex and challenging dataset related to human instance segmentation. Through this dataset, we want to emphasize occlusion as a challenging problem for researchers to study.

For agents

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

get_harvested_code_for_paper("1803.10683")
get_code_for_paper("1803.10683")
have("1803.10683")

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

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

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

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

Connect an agent — have() is free.