SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2401.07240 · IJCAI · 2024

DCDet: Dynamic Cross-based 3D Object Detector

Shuai Liu, Boyang Li, Kai Huang, Zhiyu Fang

arXiv · PDF · Open in the Atlas

Code that ran

7 of 11 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; 7 failures of our instrument; 4 no recorded run), measured 2026-11-22; 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/2401.07240.json · badge: /api/ran/2401.07240.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
Say2L/DCDet canonical (classifier label)
classifier basis: census
7 ran · 4 no recorded run
FunctionStatusWhere it lives
cfg_from_yaml_file Ran
ran; our contract draft was wrong, not the code
Say2L/DCDet/pcdet/config.py
code served (permissive licence) · get_code("44db2351bcc0bffe")
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 EasyDict. 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 yaml
from easydict import EasyDict
import tempfile
import os

# Create temporary YAML files for testing
temp_dir = tempfile.mkdtemp()

# Create a base config file
base_config_path = os.path.join(temp_dir, 'base_config.yaml')
with open(base_config_path, 'w') as f:
    yaml.dump({
        'model': {
            'layers': 3,
            'hidden_dim': 64
        },
        'learning_rate': 0.001,
        'batch_size': 32
    }, f)

# Create main config file that references base config
main_config_path = os.path.join(temp_dir, 'main_config.yaml')
with open(main_config_path, 'w') as f:
    yaml.dump({
        '_BASE_CONFIG_': base_config_path,
        'model': {
            'layers': 5
        },
        'epochs': 100,
        'learning_rate': 0.01
    }, f)

# Initialize config as EasyDict
initial_config = EasyDict()

ARGS = {
    'cfg_file': main_config_path,
    'config': initial_config
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
easydict, yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EasyDict — a EasyDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EasyDict 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
compute_fg_mask Ran
ran; our contract draft was wrong, not the code
Say2L/DCDet/pcdet/utils/loss_utils.py
code served (permissive licence) · get_code("65fe32ede00e7dcb")
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 3, dtype family float, shape (2, 128, 256) 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)

# gt_boxes2d: (B, N, 4) tensor with 2D box coordinates [u1, v1, u2, v2]
# B=2 (batch size), N=3 (number of boxes), 4 coordinates per box
gt_boxes2d = torch.tensor([
    [[10.5, 20.5, 50.5, 60.5],
     [5.0, 10.0, 30.0, 40.0],
     [70.0, 80.0, 100.0, 120.0]],
    [[15.5, 25.5, 55.5, 65.5],
     [8.0, 12.0, 32.0, 42.0],
     [75.0, 85.0, 105.0, 125.0]]
], dtype=torch.float32)

# shape: desired output mask shape (B, H, W) = (2, 128, 256)
shape = torch.Size([2, 128, 256])

# downsample_factor: integer downsampling factor
downsample_factor = 2

# device: torch device (CPU only)
device = torch.device('cpu')

ARGS = {
    'gt_boxes2d': gt_boxes2d,
    'shape': shape,
    'downsample_factor': downsample_factor,
    'device': device
}
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 3, dtype family float, shape (2, 128, 256) — shape (2, 128, 256) 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
gaussian2D Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Say2L/DCDet/pcdet/models/model_utils/dcdet_utils.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from CrazyShout/INSTINCT, is pointer only (licence: NOASSERTION) · get_code("86282b7f90be63f2")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from CrazyShout/INSTINCT, and GitHub could not classify the licence of that repository (NOASSERTION). 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. A run is recorded.

gaussian_radius Ran
ran; our contract draft was wrong, not the code
Say2L/DCDet/pcdet/models/model_utils/dcdet_utils.py
code served (permissive licence) · get_code("2a6dfff40d3e729b")
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 small tensors for height and width
# The function expects (N,) shaped tensors and performs element-wise operations
height = torch.tensor([10.0, 20.0])
width = torch.tensor([15.0, 25.0])

# min_overlap is a scalar float parameter
min_overlap = 0.5

ARGS = {
    "height": height,
    "width": width,
    "min_overlap": min_overlap,
}
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
merge_new_config Ran
ran; our contract draft was wrong, not the code
Say2L/DCDet/pcdet/config.py
code served (permissive licence) · get_code("50e8e8cdfc5129f0")
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 EasyDict. 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 yaml
from easydict import EasyDict
import tempfile
import os

# Create a temporary base config file
temp_dir = tempfile.mkdtemp()
base_config_path = os.path.join(temp_dir, 'base_config.yaml')

base_config_content = """
model:
  type: simple
  layers: 3
learning_rate: 0.001
batch_size: 32
"""

with open(base_config_path, 'w') as f:
    f.write(base_config_content)

# Create the base config as an EasyDict
config = EasyDict({
    'model': EasyDict({'type': 'simple', 'layers': 3}),
    'learning_rate': 0.001,
    'batch_size': 32
})

# Create the new_config with _BASE_CONFIG_ pointing to our temp file
new_config = {
    '_BASE_CONFIG_': base_config_path,
    'learning_rate': 0.01,
    'model': {
        'layers': 5
    },
    'optimizer': 'adam'
}

ARGS = {
    'config': config,
    'new_config': new_config
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
easydict, yaml — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type EasyDict — a EasyDict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a EasyDict 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
neg_loss_cornernet Ran
ran; our contract draft was wrong, not the code
Say2L/DCDet/pcdet/utils/loss_utils.py
code served (permissive licence) · get_code("5e1dc41d084fa131")
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)

# Construct arguments for neg_loss_cornernet
# pred: (batch x c x h x w) - predictions, should be probabilities in [0, 1]
# gt: (batch x c x h x w) - ground truth, values in [0, 1]
# mask: (batch x h x w) - optional mask

batch_size = 2
num_channels = 4
height = 3
width = 5

# pred: predictions with shape (batch x c x h x w)
# Should contain values between 0 and 1 (logits or probabilities)
pred = torch.rand(batch_size, num_channels, height, width)

# gt: ground truth with shape (batch x c x h x w)
# Values should be mostly 0, with some 1s for positive examples
gt = torch.zeros(batch_size, num_channels, height, width)
gt[0, 0, 1, 2] = 1.0
gt[1, 2, 0, 3] = 1.0

# mask: optional mask with shape (batch x h x w)
# Used to mask out certain spatial locations
mask = torch.ones(batch_size, height, width)
mask[0, 1, 1] = 0.0

ARGS = {
    "pred": pred,
    "gt": gt,
    "mask": mask,
}
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
post_act_block_dense Ran
ran; our contract draft was wrong, not the code
Say2L/DCDet/pcdet/models/backbones_3d/spconv_backbone_2d.py
code served (permissive licence) · get_code("0d095007c24b14c0")
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 Sequential. 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

torch.manual_seed(0)

ARGS = {
    "in_channels": 3,
    "out_channels": 16,
    "kernel_size": 3,
    "stride": 1,
    "padding": 1,
    "dilation": 1,
    "norm_fn": nn.BatchNorm2d,
}
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 Sequential — a Sequential output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Sequential output the recorded ndim 1 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
draw_gaussian_to_heatmap Not yet run
unverified (harvested, no recorded run)
Say2L/DCDet/pcdet/models/model_utils/dcdet_utils.py
code served (permissive licence) · get_code("21d4aefea7f3032e")
How it ran

no invocation recorded.

get_corner_loss_lidar Not yet run
unverified (harvested, no recorded run)
Say2L/DCDet/pcdet/utils/loss_utils.py
code served (permissive licence) · get_code("edfb19015880a085")
How it ran

no invocation recorded.

post_act_block Not yet run
unverified (harvested, no recorded run)
Say2L/DCDet/pcdet/models/backbones_3d/spconv_backbone.py
code served (permissive licence) · get_code("2b4e0558df870bf9")
How it ran

no invocation recorded.

post_act_block Not yet run
unverified (harvested, no recorded run)
Say2L/DCDet/pcdet/models/backbones_3d/spconv_backbone_2d.py
code served (permissive licence) · get_code("016a882194742fe9")
How it ran

no invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 8 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
get_corner_loss_lidar 49 other papers
29 dated earlier, 2 the same month, 17 later, 1 same year, order not determinable
1907.03670 (2019-07)
From Points to Parts: 3D Object Detection from Point Cloud with Part-aware and Part-aggregation Network
1912.13192 (2019-12)
PV-RCNN: Point-Voxel Feature Set Abstraction for 3D Object Detection
2005.10821 (2020-05)
Hierarchical Multi-Scale Attention for Semantic Segmentation
and 46 more not named here
cfg_from_yaml_file 37 other papers
18 dated earlier, 2 the same month, 15 later, 2 same year, order not determinable
1907.03670 (2019-07)
From Points to Parts: 3D Object Detection from Point Cloud with Part-aware and Part-aggregation Network
2104.11896 (2021-04)
M3DeTR: Multi-representation, Multi-scale, Mutual-relation 3D Object Detection with Transformers
2203.10314 (2022-03)
Voxel Set Transformer: A Set-to-Set Approach to 3D Object Detection from Point Clouds
and 34 more not named here
compute_fg_mask 35 other papers
19 dated earlier, 2 the same month, 13 later, 1 same year, order not determinable
1907.03670 (2019-07)
From Points to Parts: 3D Object Detection from Point Cloud with Part-aware and Part-aggregation Network
2104.11896 (2021-04)
M3DeTR: Multi-representation, Multi-scale, Mutual-relation 3D Object Detection with Transformers
2105.00373 (2021-05)
Investigating the Impact of Multi-LiDAR Placement on Object Detection for Autonomous Driving
and 32 more not named here
merge_new_config 35 other papers
17 dated earlier, 2 the same month, 14 later, 2 same year, order not determinable
1907.03670 (2019-07)
From Points to Parts: 3D Object Detection from Point Cloud with Part-aware and Part-aggregation Network
2104.11896 (2021-04)
M3DeTR: Multi-representation, Multi-scale, Mutual-relation 3D Object Detection with Transformers
2203.10314 (2022-03)
Voxel Set Transformer: A Set-to-Set Approach to 3D Object Detection from Point Clouds
and 32 more not named here
post_act_block 28 other papers
15 dated earlier, 1 the same month, 11 later, 1 same year, order not determinable
1907.03670 (2019-07)
From Points to Parts: 3D Object Detection from Point Cloud with Part-aware and Part-aggregation Network
2104.11896 (2021-04)
M3DeTR: Multi-representation, Multi-scale, Mutual-relation 3D Object Detection with Transformers
2203.10314 (2022-03)
Voxel Set Transformer: A Set-to-Set Approach to 3D Object Detection from Point Clouds
and 25 more not named here
post_act_block_dense 10 other papers
2 dated earlier, 1 the same month, 6 later, 1 same year, order not determinable
1907.03670 (2019-07)
From Points to Parts: 3D Object Detection from Point Cloud with Part-aware and Part-aggregation Network
2308.07732 (2023-08)
UniTR: A Unified and Efficient Multi-Modal Transformer for Bird's-Eye-View Representation
03732 (2024 (year only))
TCC-Det: Temporarily consistent cues for weakly-supervised 3D detection
and 7 more not named here
gaussian2D 9 other papers
6 dated earlier, 1 the same month, 2 later
1904.07850 (2019-04)
Objects as Points
2001.04608 (2020-01)
Actions as Moving Points
2104.07986 (2021-04)
Learning to Reconstruct 3D Non-Cuboid Room Layout from a Single RGB Image
and 6 more not named here
post_act_block 9 other papers
2 dated earlier, 1 the same month, 6 later
1907.03670 (2019-07)
From Points to Parts: 3D Object Detection from Point Cloud with Part-aware and Part-aggregation Network
2308.07732 (2023-08)
UniTR: A Unified and Efficient Multi-Modal Transformer for Bird's-Eye-View Representation
2401.00912 (2024-01)
ScatterFormer: Efficient Voxel Transformer with Scattered Linear Attention
and 6 more not named here
draw_gaussian_to_heatmap 1 other paper
1 dated earlier
2306.06023 (2023-06)
DetZero: Rethinking Offboard 3D Object Detection with Long-term Sequential Point Clouds
gaussian_radius 1 other paper
1 dated earlier
2306.06023 (2023-06)
DetZero: Rethinking Offboard 3D Object Detection with Long-term Sequential Point Clouds

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-22.

Repositories linked to this paper

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

Abstract

Recently, significant progress has been made in the research of 3D object detection. However, most prior studies have focused on the utilization of center-based or anchor-based label assignment schemes. Alternative label assignment strategies remain unexplored in 3D object detection. We find that the center-based label assignment often fails to generate sufficient positive samples for training, while the anchor-based label assignment tends to encounter an imbalanced issue when handling objects with different scales. To solve these issues, we introduce a dynamic cross label assignment (DCLA) scheme, which dynamically assigns positive samples for each object from a cross-shaped region, thus providing sufficient and balanced positive samples for training. Furthermore, to address the challenge of accurately regressing objects with varying scales, we put forth a rotationweighted Intersection over Union (RWIoU) metric to replace the widely used L 1 metric in regression loss. Extensive experiments demonstrate the generality and effectiveness of our DCLA and RWIoUbased regression loss. The Code is available at https://github.com/Say2L/DCDet.git.

For agents

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

get_harvested_code_for_paper("2401.07240")
get_code_for_paper("2401.07240")
have("2401.07240")

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

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

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

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

Connect an agent — have() is free.