SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.16818 · 2023

DreamCraft3D: Hierarchical 3D Generation with Bootstrapped Diffusion Prior

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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 0 have 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/2310.16818.json · badge: /api/ran/2310.16818.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
deepseek-ai/dreamcraft3d canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
FunctionStatusWhere it lives
deprecated_score_from_method_for_dataset Ran
ran; our contract draft was wrong, not the code
deepseek-ai/dreamcraft3d/metric_utils.py
code served (permissive licence) · get_code("9fa86844cc7f21d7")
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 torch.nn as nn
import tempfile
import os
from pathlib import Path

# Create a minimal scorer mock
class MockScorer:
    def score_gt(self, gt_list, pred_list):
        """Mock scorer that returns a dummy score"""
        return 0.85

# Create temporary directory structure for the mock dataset
temp_dir = tempfile.mkdtemp()
pred_path = temp_dir

# Create mock dataset structure
dataset_name = "test_dataset"
example_names = ["example_0", "example_1"]

for example in example_names:
    colors_dir = os.path.join(pred_path, example, "colors")
    os.makedirs(colors_dir, exist_ok=True)
    # Create a dummy image file with step_0000 pattern
    dummy_file = os.path.join(colors_dir, "step_00000.png")
    Path(dummy_file).touch()

# Mock meta_examples dictionary that the function uses
meta_examples = {
    dataset_name: example_names
}

# Inject meta_examples into globals so function can access it
import sys
current_module = sys.modules[__name__]
current_module.meta_examples = meta_examples
current_module.pred_path = pred_path

# Create the scorer instance
my_scorer = MockScorer()

# Build ARGS dictionary with all required parameters
ARGS = {
    "my_scorer": my_scorer,
    "method": "3d_fuse",
    "dataset": dataset_name,
    "input": None,  # Not used in function body
    "output": None,  # Not used in function body
    "score_type": "clip"
}
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 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
load_model_config Ran
ran; our contract draft was wrong, not the code
deepseek-ai/dreamcraft3d/gradio_app.py
code served (permissive licence) · get_code("d83baa3f73241bc1")
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 str. 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 os
import tempfile
from unittest.mock import patch, mock_open

# Create temporary config files to avoid file I/O issues
temp_configs = {
    'configs/gradio/dreamfusion-if.yaml': 'model: dreamfusion\nbackend: if\n',
    'configs/gradio/dreamfusion-sd.yaml': 'model: dreamfusion\nbackend: sd\n',
    'configs/gradio/textmesh-if.yaml': 'model: textmesh\nbackend: if\n',
    'configs/gradio/fantasia3d.yaml': 'model: fantasia3d\nbackend: sd\n',
    'configs/gradio/sjc.yaml': 'model: sjc\nbackend: sd\n',
    'configs/gradio/latentnerf.yaml': 'model: latentnerf\nbackend: sd\n',
}

def mock_open_func(filename, *args, **kwargs):
    if filename in temp_configs:
        class MockFile:
            def read(self):
                return temp_configs[filename]
            def __enter__(self):
                return self
            def __exit__(self, *args):
                pass
        return MockFile()
    raise FileNotFoundError(f"Config file {filename} not found")

# Patch the built-in open function to return mock config files
import builtins
original_open = builtins.open
builtins.open = mock_open_func

ARGS = {
    'model_name': 'DreamFusion (DeepFloyd-IF)'
}
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
numpy_to_torch Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
deepseek-ai/dreamcraft3d/metric_utils.py
code served (permissive licence) · get_code("c999c85b86b93312")
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, 3, 4, 3) 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

torch.manual_seed(0)

# The function expects a numpy array with shape (batch, height, width, channels)
# It will transpose to (batch, channels, height, width)
# It multiplies by 2.0 and subtracts 1.0 (normalization)
# Values should be in range [0, 1] before normalization to get [-1, 1] after

batch_size = 2
height = 4
width = 3
channels = 3

# Create a small numpy array with values in [0, 1]
images = np.random.rand(batch_size, height, width, channels).astype(np.float32)

ARGS = {
    "images": images
}
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, 3, 4, 3) — shape (2, 3, 4, 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
tail Ran
ran; our contract draft was wrong, not the code
deepseek-ai/dreamcraft3d/gradio_app.py
code served (permissive licence) · get_code("e93da14f176f38af")
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) and returned str. 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 io

# Create a file-like object with some content
file_content = b"""line 1
line 2
line 3
line 4
line 5
line 6
line 7
line 8
line 9
line 10
line 11
line 12
line 13
line 14
line 15
line 16
line 17
line 18
line 19
line 20
line 21
line 22
line 23
line 24
line 25"""

f = io.BytesIO(file_content)

ARGS = {
    "f": f,
    "window": 20
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
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 str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str 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
load_model_config_attrs Not yet run
unverified (harvested, no recorded run)
deepseek-ai/dreamcraft3d/gradio_app.py
code served (permissive licence) · get_code("0223bb6109080457")
How it ran

no invocation recorded.

score_from_method_for_dataset Not yet run
unverified (harvested, no recorded run)
deepseek-ai/dreamcraft3d/metric_utils.py
code served (permissive licence) · get_code("a3fcc3a110ad4737")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 4 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
tail 3 other papers
1 dated earlier, 2 later
2305.16213 (2023-05)
ProlificDreamer: High-Fidelity and Diverse Text-to-3D Generation with Variational Score Distillation
2312.02201 (2023-12)
ImageDream: Image-Prompt Multi-view Diffusion for 3D Generation
2312.06439 (2023-12)
DreamControl: Control-Based Text-to-3D Generation with 3D Self-Prior
numpy_to_torch 2 other papers
1 dated earlier, 1 later
2305.18766 (2023-05)
HiFA: High-fidelity Text-to-3D Generation with Advanced Diffusion Guidance
2312.13271 (2023-12)
Repaint123: Fast and High-quality One Image to 3D Generation with Progressive Controllable 2D Repainting

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 present DreamCraft3D, a hierarchical 3D content generation method that produces high-fidelity and coherent 3D objects. We tackle the problem by leveraging a 2D reference image to guide the stages of geometry sculpting and texture boosting. A central focus of this work is to address the consistency issue that existing works encounter. To sculpt geometries that render coherently, we perform score distillation sampling via a view-dependent diffusion model. This 3D prior, alongside several training strategies, prioritizes the geometry consistency but compromises the texture fidelity. We further propose Bootstrapped Score Distillation to specifically boost the texture. We train a personalized diffusion model, Dreambooth, on the augmented renderings of the scene, imbuing it with 3D knowledge of the scene being optimized. The score distillation from this 3D-aware diffusion prior provides view-consistent guidance for the scene. Notably, through an alternating optimization of the diffusion prior and 3D scene representation, we achieve mutually reinforcing improvements: the optimized 3D scene aids in training the scene-specific diffusion model, which offers increasingly view-consistent guidance for 3D optimization. The optimization is thus bootstrapped and leads to substantial texture boosting. With tailored 3D priors throughout the hierarchical generation, DreamCraft3D generates coherent 3D objects with photorealistic renderings, advancing the state-of-the-art in 3D content generation. Code available at https://github.com/deepseek-ai/DreamCraft3D.

For agents

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

get_harvested_code_for_paper("2310.16818")
get_code_for_paper("2310.16818")
have("2310.16818")

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

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

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

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

Connect an agent — have() is free.