FCAF3D: Fully Convolutional Anchor-Free 3D Object Detection
Paper โข 2112.00322 โข Published
A FCAF3D 3D object detection model (fully convolutional anchor-free sparse voxel detector). Trained on SUN RGB-D.
pip install torch-pointcloud
This checkpoint also needs spconv, which needs a build matching your torch and CUDA: see the installation guide.
import torch
import torch_pointcloud as tp
from torch_pointcloud.utils.data import collate
model, info = tp.create_model(
"fcaf3d.sunrgbd.mmdet3d",
pretrained=True,
return_info=True,
)
model = model.cuda().eval() # GPU-only kernels
# synthetic sample with the keys a dataset provides
num_points = 8192
sample = {
"pos": torch.randn(num_points, 3),
"color": torch.rand(num_points, 3) * 255,
"normal": torch.randn(num_points, 3),
"segment": torch.zeros(num_points, dtype=torch.long),
"instance": torch.zeros(num_points, dtype=torch.long),
}
data = info["transform"](sample)
data = collate([data])
data = {key: value.cuda() for key, value in data.items()}
with torch.no_grad():
out = model(data.get("x"), data["pos"], data["batch"])
with torch.no_grad():
features = model.forward_features(data.get("x"), data["pos"], data["batch"]) # 512 channels
@inproceedings{rukhovich2022fcaf3d,
title = {{FCAF3D}: Fully Convolutional Anchor-Free 3D Object Detection},
author = {Danila Rukhovich and Anna Vorontsova and Anton Konushin},
booktitle = {ECCV},
year = {2022}
}
@inproceedings{song2015sunrgbd,
title = {{SUN RGB-D}: A {RGB-D} Scene Understanding Benchmark Suite},
author = {Song, Shuran and Lichtenberg, Samuel P. and Xiao, Jianxiong},
booktitle = {CVPR},
year = {2015}
}
@software{dujardin2026pytorchpointcloud,
author = {Arthur Dujardin},
title = {PyTorch PointCloud},
year = {2026},
doi = {10.5281/zenodo.22159632},
url = {https://github.com/arthurdjn/pytorch-pointcloud},
}