The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ArrowInvalid
Message: JSON parse error: Invalid value. in row 0
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 354, in _generate_tables
df = pandas_read_json(f)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
return pd.read_json(path_or_buf, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 791, in read_json
json_reader = JsonReader(
path_or_buf,
...<16 lines>...
engine=engine,
)
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 905, in __init__
self.data = self._preprocess_data(data)
~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 917, in _preprocess_data
data = data.read()
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 838, in read_with_retries
out = read(*args, **kwargs)
File "<frozen codecs>", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 244, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4675, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2885, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3095, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2600, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 357, in _generate_tables
raise e
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 295, in _generate_tables
pa_table = paj.read_json(
io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
)
File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Invalid value. in row 0Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Street images and DINOv3 features for place recognition
These are photos from repeat drives through Pittsburgh. Use the saved features to compare how the same place looks across visits. You can load them on a CPU with NumPy.
pilot/has 664 images from slice 6. Start here for a smaller download. The filesetup_sample_indices.jsonlists the 26 pilot rows used in the project's setup sample.main/has 8,000 images. The manifest assigns 4,800 to training, 1,600 to validation, and 1,600 to testing. Snow appears only in the main test split.manifest.jsonin each folder lists the images in feature order. Rowiidentifies the same image in every array in that folder.
Load the features
1. Install the two libraries.
python -m pip install numpy huggingface_hub
2. Download and open the pilot features. Change part to "main" for the main experiment. This downloads the arrays and manifest. The JPEG archives are a separate download.
import json
from pathlib import Path
import numpy as np
from huggingface_hub import snapshot_download
repo = "abhay2812/vpr-dinov3-features"
part = "pilot"
root = Path(snapshot_download(
repo_id=repo,
repo_type="dataset",
allow_patterns=[f"{part}/manifest.json", f"{part}/tokens/*", f"{part}/masks/*"],
)) / part
rows = json.loads((root / "manifest.json").read_text())
patches = np.load(root / "tokens/values.npy", mmap_mode="r")
cls = np.load(root / "tokens/cls.npy", mmap_mode="r")
keep = np.load(root / "masks/values.npy", mmap_mode="r")
i = 0
print(rows[i]["id"], rows[i]["split"], rows[i]["role"])
print(patches[i].shape, cls[i].shape, keep[i].shape)
# (300, 384) (384,) (300,)
3. Pick the representation you need.
cls[i]is one 384-number DINOv3 descriptor for the whole photo. For cosine similarity, convert each descriptor to float32 and L2-normalize it.patches[i]has 300 DINOv3 descriptors, one per 16 × 16 patch of the resized 320 × 240 image. Usepatches[i].reshape(15, 20, 384)to recover the spatial grid.keep[i]is a Boolean mask.patches[i][keep[i]]selects the patches retained by the fixed masking baseline. SegFormer flags patches mostly covered by people or vehicles.
Open the corresponding photo
Each ZIP holds the original JPEGs for one slice. Run this after the example above to open the exact image for row i. This example also needs Pillow (python -m pip install pillow).
from zipfile import ZipFile
from huggingface_hub import hf_hub_download
from PIL import Image
row = rows[i]
archive = hf_hub_download(repo, f"{part}/images/{row['slice']}.zip", repo_type="dataset")
with ZipFile(archive) as z, z.open(row["path"]) as f:
photo = Image.open(f).convert("RGB")
print(photo.size) # (1024, 768)
Credits
The images and pose data come from Extended CMU Seasons and are distributed under CC BY-NC-SA 3.0. Please credit Badino, Huber and Kanade (2011), The CMU Visual Localization Data Set, and Sattler et al. (CVPR 2018), Benchmarking 6DOF Outdoor Visual Localization in Changing Conditions. Dataset release and license
The project resized the images for feature extraction, computed embeddings with DINOv3 ViT-S/16 and masks with SegFormer B0, and assigned the project splits. Each cache's meta.json records its checkpoint revision and geometry. Project code · Meta DINOv3 · NVIDIA SegFormer
- Downloads last month
- 36