SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 1808.02201 · 2018

Holistic 3D Scene Parsing and Reconstruction from a Single RGB Image

arXiv · PDF · Open in the Atlas

Code that ran

3 of 5 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 3 have no contract verdict; 0 failures of our instrument; 2 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/1808.02201.json · badge: /api/ran/1808.02201.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
thusiyuan/holistic_scene_parsing community (classifier label)
classifier basis not recorded on the link
3 ran · 2 no recorded run
FunctionStatusWhere it lives
plot_cuboid Ran
ran on a synthesized input
thusiyuan/holistic_scene_parsing/visualize.py
code served (permissive licence) · get_code("eabf66badd22efef")
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, ndim 2, dtype family int; 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 numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D

torch.manual_seed(0)

# Create a 3D plot
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')

# Define 8 corner points of a cuboid in 3D space
# Each point is a tuple or list with (x, y, z) coordinates
p1 = (0, 0, 0)
p2 = (1, 0, 0)
p3 = (1, 1, 0)
p4 = (0, 1, 0)
p5 = (0, 0, 1)
p6 = (1, 0, 1)
p7 = (1, 1, 1)
p8 = (0, 1, 1)

ARGS = {
    'ax': ax,
    'p1': p1,
    'p2': p2,
    'p3': p3,
    'p4': p4,
    'p5': p5,
    'p6': p6,
    'p7': p7,
    'p8': p8,
    'color': 'r-'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
matplotlib, mpl_toolkits, numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family int — a tuple output has no array shape of its own; none is stated
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
set_logger Ran
ran on a synthesized input
thusiyuan/holistic_scene_parsing/config.py
code served (permissive licence) · get_code("5d5053380b78ff19")
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 Logger. 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 errno
import logging
import os
import tempfile

# Create a temporary directory for the log file
temp_dir = tempfile.mkdtemp()
log_file_path = os.path.join(temp_dir, 'learner.log')

ARGS = {
    'name': log_file_path
}
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 Logger — a Logger output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Logger 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
show_2dboxes Ran
ran on a synthesized input
thusiyuan/holistic_scene_parsing/visualize.py
code served (permissive licence) · get_code("7f8010cad4b21210")
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, 150, 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 matplotlib.pyplot as plt

# Create a small sample image (height=100, width=150, channels=3)
im = np.random.randint(0, 256, (100, 150, 3), dtype=np.uint8)

# Create bounding box dictionaries with required fields
bdbs = [
    {
        'x1': 10,
        'y1': 20,
        'x2': 50,
        'y2': 60,
        'classname': 'cat'
    },
    {
        'x1': 60,
        'y1': 30,
        'x2': 120,
        'y2': 80,
        'classname': 'dog'
    }
]

scale = 1.0

ARGS = {
    'im': im,
    'bdbs': bdbs,
    'scale': scale
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
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 3, dtype family int, shape (100, 150, 3) — shape (100, 150, 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
make2d Not yet run
unverified (harvested, no recorded run)
thusiyuan/holistic_scene_parsing/utils/plyfile.py
code served (permissive licence) · get_code("adb14f1f70fdedb1")
How it ran

no invocation recorded.

show_2dcorner Not yet run
unverified (harvested, no recorded run)
thusiyuan/holistic_scene_parsing/visualize.py
code served (permissive licence) · get_code("aa3870a02a8d9ff8")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 5 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 1 the same month, 5 later) and 0 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
make2d 5 other papers
5 later
2004.01301 (2020-04)
Generative PointNet: Deep Energy-Based Learning on Unordered Point Sets for 3D Generation, Reconstruction and Classification
2306.03908 (2023-06)
SAM3D: Segment Anything in 3D Scenes
2401.01552 (2024-01)
CRA-PCN: Point Cloud Completion with Intra-and Inter-level Cross-Resolution Transformers
and 2 more not named here
set_logger 2 other papers
1 the same month, 1 later
1808.08473 (2018-08)
Human-centric Indoor Scene Synthesis Using Stochastic Grammar
1810.13049 (2018-10)
Cooperative Holistic Scene Understanding: Unifying 3D Object, Layout, and Camera Pose Estimation
plot_cuboid 1 other paper
1 later
1810.13049 (2018-10)
Cooperative Holistic Scene Understanding: Unifying 3D Object, Layout, and Camera Pose Estimation
show_2dboxes 1 other paper
1 later
1810.13049 (2018-10)
Cooperative Holistic Scene Understanding: Unifying 3D Object, Layout, and Camera Pose Estimation
show_2dcorner 1 other paper
1 later
1810.13049 (2018-10)
Cooperative Holistic Scene Understanding: Unifying 3D Object, Layout, and Camera 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 computational framework to jointly parse a single RGB image and reconstruct a holistic 3D configuration composed by a set of CAD models using a stochastic grammar model. Specifically, we introduce a Holistic Scene Grammar (HSG) to represent the 3D scene structure, which characterizes a joint distribution over the functional and geometric space of indoor scenes. The proposed HSG captures three essential and often latent dimensions of the indoor scenes: i) latent human context, describing the affordance and the functionality of a room arrangement, ii) geometric constraints over the scene configurations, and iii) physical constraints that guarantee physically plausible parsing and reconstruction. We solve this joint parsing and reconstruction problem in an analysis-by-synthesis fashion, seeking to minimize the differences between the input image and the rendered images generated by our 3D representation, over the space of depth, surface normal, and object segmentation map. The optimal configuration, represented by a parse graph, is inferred using Markov chain Monte Carlo (MCMC), which efficiently traverses through the non-differentiable solution space, jointly optimizing object localization, 3D layout, and hidden human context. Experimental results demonstrate that the proposed algorithm improves the generalization ability and significantly outperforms prior methods on 3D layout estimation, 3D object detection, and holistic scene understanding.

For agents

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

get_harvested_code_for_paper("1808.02201")
get_code_for_paper("1808.02201")
have("1808.02201")

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

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

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

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

Connect an agent — have() is free.