The dataset viewer is not available for this split.
Error code: TooBigContentError
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
FineV3Det - V3Det vast-vocabulary detection in the unified detection format
Source: the authors' Hugging Face backup yhcao/V3Det_Backup (annotation JSONs + 21 image zips, 53.5 GB), linked as the HuggingFace download channel from github.com/V3Det/V3Det.
Converted by the finedet project into a unified, AutoTrain-compatible layout:
image / width / height / objects{bbox, category} with COCO-format
[x, y, w, h] boxes in absolute pixels. Boxes are clipped to the image and
empty boxes dropped; category ids are densified per the category tables
below.
Box format
objects.bbox follows the COCO convention: [x, y, w, h] in absolute pixels,
origin at the image's top-left corner.
License
Annotations, category tree, and tools: CC BY 4.0 (official statement, commercial use allowed). Images: the V3Det authors state 'We do not own the copyright of the images' — use must abide by the Flickr Terms of Use. This conversion sources the images from the authors' own public backup repository (huggingface.co/datasets/yhcao/V3Det_Backup), the download channel linked from the official V3Det README.
Example images
Boxes are colored by category: near-transparent fill, opaque outline.
![]() | ![]() |
![]() | ![]() |
Conversion notes
13,204 categories (source-id order, densified to 0-13203; English names). The test split ships image info without annotations and is excluded. Category descriptions, the category tree, and exemplar images are not carried over.
Splits
- train: 183354 images
- validation: 29821 images
Categories
This dataset has 13204 categories. The full category table has moved to categories.csv (columns: id, original_id, name).
Training with transformers
The boxes are already in the absolute-pixel COCO [x, y, w, h] format that
AutoImageProcessor expects, so fine-tuning a detector needs no bbox
conversion:
import torch
from datasets import load_dataset
from transformers import (AutoImageProcessor, AutoModelForObjectDetection,
Trainer, TrainingArguments)
ds = load_dataset("finedet/v3det")
obj_feat = ds["train"].features["objects"]
if hasattr(obj_feat, "feature"):
obj_feat = obj_feat.feature
cat_feat = obj_feat["category"]
names = (cat_feat.feature if hasattr(cat_feat, "feature") else cat_feat).names
checkpoint = "facebook/detr-resnet-50"
processor = AutoImageProcessor.from_pretrained(checkpoint)
model = AutoModelForObjectDetection.from_pretrained(
checkpoint,
id2label=dict(enumerate(names)),
label2id={n: i for i, n in enumerate(names)},
ignore_mismatched_sizes=True,
)
def transform(batch):
images = [img.convert("RGB") for img in batch["image"]]
annotations = [
{"image_id": i,
"annotations": [
{"bbox": box, "category_id": cat, "area": box[2] * box[3], "iscrowd": 0}
for box, cat in zip(objs["bbox"], objs["category"])
]}
for i, objs in enumerate(batch["objects"])
]
return processor(images=images, annotations=annotations, return_tensors="pt")
def collate(batch):
return {"pixel_values": torch.stack([x["pixel_values"] for x in batch]),
"labels": [x["labels"] for x in batch]}
trainer = Trainer(
model=model,
args=TrainingArguments(output_dir="out", per_device_train_batch_size=4,
num_train_epochs=10, learning_rate=1e-5,
remove_unused_columns=False),
train_dataset=ds["train"].with_transform(transform),
data_collator=collate,
)
trainer.train()
- Downloads last month
- 300



