Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Job manager crashed while running this job (missing heartbeats).
Error code:   JobManagerCrashedError

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.

text
string
1.000000 0.000000 0.000000 0.000000
0.000000 1.000000 0.000000 0.000000
0.000000 0.000000 1.000000 0.000000
0.000000 0.000000 0.000000 1.000000
1.000000 0.000000 0.000000 0.000000
0.000000 1.000000 0.000000 0.000000
0.000000 0.000000 1.000000 0.000000
0.000000 0.000000 0.000000 1.000000
600.000000 0.000000 599.500000 0.000000
0.000000 600.000000 339.500000 0.000000
0.000000 0.000000 1.000000 0.000000
0.000000 0.000000 0.000000 1.000000
600.000000 0.000000 599.500000 0.000000
0.000000 600.000000 339.500000 0.000000
0.000000 0.000000 1.000000 0.000000
0.000000 0.000000 0.000000 1.000000
9.062491181555123454e-01 -2.954311239679592860e-01 3.023788796086531172e-01 -3.569159214564542326e-01
-4.227440547687880690e-01 -6.333245673155291078e-01 6.482186796076164770e-01 -6.602722315763628336e-01
8.759610522377010340e-17 -7.152764804085384176e-01 -6.988415818870352680e-01 8.192365926179191460e-01
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
9.117974242635417115e-01 -2.821317573836910064e-01 2.983741419459151611e-01 -3.392391072404580266e-01
-4.106403013665013702e-01 -6.264533920059638383e-01 6.625184454321639826e-01 -6.529105261083280043e-01
8.898370098269448719e-17 -7.266070596407748772e-01 -6.870532591292960456e-01 8.089290835703050186e-01
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
9.381357201392316325e-01 -2.130208192217611096e-01 2.729899287097143912e-01 -2.456696751290185499e-01
-3.462677729717930086e-01 -5.771326564125134340e-01 7.396056559433482613e-01 -6.169610161336236409e-01
9.654847158446050965e-17 -7.883780993155031780e-01 -6.151910049079671872e-01 7.409320022634876546e-01
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
5.167029075517861614e-01 -4.158475945215166225e-02 8.551542627554615805e-01 -5.441404477162022912e-01
-8.561647652920144624e-01 -2.509676523705094142e-02 5.160930604523820131e-01 -8.369650060627286114e-01
1.223201389633802764e-16 -9.988197335635410345e-01 -4.857097738420512040e-02 5.262890188914645107e-01
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
1.559862719401788195e-02 -9.027921234789221261e-01 4.297942119364577263e-01 2.175409402493396760e-01
-9.998783340135248832e-01 -1.408403131540702374e-02 6.705015454463065204e-03 -1.906348003603680175e+00
5.264101521504941093e-17 -4.298465096360855608e-01 -9.029019759385149557e-01 1.018103869955195862e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
1.755431875037529593e-02 -9.001183702798924990e-01 4.352915866150880442e-01 2.166723086007795174e-01
-9.998459110749067236e-01 -1.580339991386714091e-02 7.642424873831718882e-03 -1.905760222464922604e+00
5.331606023880645422e-17 -4.353586705646654287e-01 -9.002570899271870042e-01 1.021832298131112982e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
1.927038798092097979e-02 -8.973833251179494930e-01 4.408308291706892201e-01 2.152968315481889328e-01
-9.998143088329276562e-01 -1.729613658241969248e-02 8.496558847998814806e-03 -1.904485042735756473e+00
5.399623301446179269e-17 -4.409127027650427411e-01 -8.975499922235112837e-01 1.025753195258896966e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.078094500446140552e-02 -8.945875602995012610e-01 4.464092844936222160e-01 2.134349851415532351e-01
-9.997840528457740961e-01 -1.859439029792866321e-02 9.278810523269981347e-03 -1.902549926218391807e+00
5.468117838133863090e-17 -4.465057061302066810e-01 -8.947807856638213542e-01 1.029849273404466414e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.211762114318233802e-02 -8.917313499584986758e-01 4.520243470612619330e-01 2.111072454308574875e-01
-9.997553754969095152e-01 -1.972780206365753672e-02 1.000014953740672834e-02 -1.899982334715040411e+00
5.537056197273309092e-17 -4.521349503488208410e-01 -8.919495426721565368e-01 1.034103244633740148e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.330977475440031838e-02 -8.888147511350532604e-01 4.576734562607192580e-01 2.083340884660878634e-01
-9.997282902873655397e-01 -2.072370247859167333e-02 1.067116463558181148e-02 -1.896809730027911423e+00
5.606406647783139912e-17 -4.577978443814607612e-01 -8.890563163712903449e-01 1.038497821012632771e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.438468114644871954e-02 -8.858376672738660362e-01 4.633540919903282873e-01 2.051359902972296756e-01
-9.997026494540194319e-01 -2.160729400465662836e-02 1.130210247742876629e-02 -1.893059573959216868e+00
5.676138859266702296e-17 -4.634919115632892272e-01 -8.861011499345929909e-01 1.043015714607063771e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.536770752052646197e-02 -8.827998972721701199e-01 4.690637704954403464e-01 2.015334269742673767e-01
-9.996781879260709935e-01 -2.240181876890904797e-02 1.190290303631552291e-02 -1.888759328311165664e+00
5.746223655484128721e-17 -4.692147694735227526e-01 -8.830840843928221551e-01 1.047639637482951303e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.628247394712649940e-02 -8.797011726743367843e-01 4.748000403944963033e-01 1.975468745471880005e-01
-9.996545561158707294e-01 -2.312871282446290686e-02 1.248323194789347466e-02 -1.883936454885970058e+00
5.816632817274491832e-17 -4.749641138428041809e-01 -8.800051650766145261e-01 1.052352301706210413e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.715100140112428756e-02 -8.765411851639679508e-01 4.805604788517912063e-01 1.931968090659764159e-01
-9.996313436076903480e-01 -2.380774782495222869e-02 1.305251012592349887e-02 -1.878618415485840298e+00
5.887338927354917365e-17 -4.807377058800882397e-01 -8.768644468474873221e-01 1.057136419342760592e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
5.119091816480768609e-01 -4.171330629388231986e-02 8.580262174446822154e-01 -5.444899894818869823e-01
-8.590395740269456404e-01 -2.485732338108465056e-02 5.113053136140205401e-01 -8.462775754600262434e-01
1.223202158024422989e-16 -9.988203610020978118e-01 -4.855807293992483314e-02 5.320444464068959656e-01
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.799384786063790348e-02 -8.733196061312203939e-01 4.863426878537042697e-01 1.885037065806167700e-01
-9.996080954463881785e-01 -2.445716106053767019e-02 1.361994092878016788e-02 -1.872832671912984859e+00
5.958315250566144341e-17 -4.865333624939497392e-01 -8.736619982466508061e-01 1.061974702458519992e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.883023343350636994e-02 -8.700360997818350484e-01 4.921442905455496453e-01 1.834880431410967350e-01
-9.995843224261620197e-01 -2.509377477170331161e-02 1.419453512931983900e-02 -1.866606685969617319e+00
6.029535644100432624e-17 -4.923489489621358794e-01 -8.703979046711224354e-01 1.066849863119403441e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
2.967815542030142681e-02 -8.666903309950853007e-01 4.979629275864600468e-01 1.781702947974007356e-01
-9.995595065281748237e-01 -2.573310560957546220e-02 1.478513391342813760e-02 -1.859967919457947483e+00
6.100974493064002212e-17 -4.981823736698399729e-01 -8.670722706699158788e-01 1.071744613391330203e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
3.055449416043421601e-02 -8.632819689222517301e-01 5.037962534798373637e-01 1.725709375995141681e-01
-9.995331024466375114e-01 -2.638946505491180858e-02 1.540043010813649423e-02 -1.852943834180184934e+00
6.172606667416001933e-17 -5.040315845935016137e-01 -8.636852214390171589e-01 1.076641665340217102e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
3.147511044235511840e-02 -8.598106871380553073e-01 5.096419328369936608e-01 1.667104475974212352e-01
-9.995045359690176712e-01 -2.707605154683004334e-02 1.604898781829729171e-02 -1.845561891938539034e+00
6.244407496910462346e-17 -5.098945672546616459e-01 -8.602369035819036336e-01 1.081523731031983848e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
3.245493519298549984e-02 -8.562761610088513997e-01 5.154976365315002695e-01 1.606093008411100254e-01
-9.994731998316007671e-01 -2.780503500996631822e-02 1.673926063108631748e-02 -1.837849554535224472e+00
6.316352761161523256e-17 -5.157693439087265297e-01 -8.567274851923227796e-01 1.086373522532544822e+00
0.000000000000000000e+00 0.000000000000000000e+00 0.000000000000000000e+00 1.000000000000000000e+00
End of preview.

Replica_OCC Benchmark

Replica_OCC is a Replica-based occupancy benchmark constructed in the data organization style of EmbodiedOcc-ScanNet and OccScanNet. It provides RGB-D sequences and scene-level occupancy ground truth for evaluating embodied occupancy prediction systems.

Ground-truth occupancy and poses are intended for evaluation-time alignment and metric computation. They are not required for training FreeOcc and are not used for map construction.

Released Files

The released dataset package contains:

Replica_OCC/
β”œβ”€β”€ README.md
β”œβ”€β”€ replica_name.txt
β”œβ”€β”€ prepare_preprocessed.py
β”œβ”€β”€ prepare_scene_occ.py
β”œβ”€β”€ vis_preprocessed.py
β”œβ”€β”€ vis_scene_occ.py
└── Replica_OCC/
    β”œβ”€β”€ preprocessed/
    β”œβ”€β”€ global_occ_package/
    └── sequences/

Only the four preparation/visualization scripts above are part of the released benchmark utilities.

Dataset Layout

Replica_OCC/
β”œβ”€β”€ preprocessed/
β”‚   β”œβ”€β”€ office0.npy
β”‚   β”œβ”€β”€ office1.npy
β”‚   β”œβ”€β”€ office2.npy
β”‚   β”œβ”€β”€ office3.npy
β”‚   β”œβ”€β”€ office4.npy
β”‚   β”œβ”€β”€ room0.npy
β”‚   β”œβ”€β”€ room1.npy
β”‚   └── room2.npy
β”œβ”€β”€ global_occ_package/
β”‚   β”œβ”€β”€ office0.pkl
β”‚   β”œβ”€β”€ office1.pkl
β”‚   β”œβ”€β”€ office2.pkl
β”‚   β”œβ”€β”€ office3.pkl
β”‚   β”œβ”€β”€ office4.pkl
β”‚   β”œβ”€β”€ room0.pkl
β”‚   β”œβ”€β”€ room1.pkl
β”‚   └── room2.pkl
└── sequences/
    β”œβ”€β”€ cam_params.json
    β”œβ”€β”€ office0/
    β”‚   β”œβ”€β”€ color/
    β”‚   β”‚   β”œβ”€β”€ 0.jpg
    β”‚   β”‚   └── ...
    β”‚   β”œβ”€β”€ depth/
    β”‚   β”‚   β”œβ”€β”€ 0.png
    β”‚   β”‚   └── ...
    β”‚   β”œβ”€β”€ pose/
    β”‚   β”‚   β”œβ”€β”€ 0.txt
    β”‚   β”‚   └── ...
    β”‚   └── intrinsic/
    β”‚       β”œβ”€β”€ intrinsic_color.txt
    β”‚       β”œβ”€β”€ intrinsic_depth.txt
    β”‚       β”œβ”€β”€ extrinsic_color.txt
    β”‚       └── extrinsic_depth.txt
    β”œβ”€β”€ office1/
    β”œβ”€β”€ office2/
    β”œβ”€β”€ office3/
    β”œβ”€β”€ office4/
    β”œβ”€β”€ room0/
    β”œβ”€β”€ room1/
    └── room2/

For FreeOcc evaluation, use:

DATA_ROOT=/path/to/Replica_OCC/sequences
SCENE_OCC_ROOT=/path/to/Replica_OCC

Coordinate System

The occupancy ground truth is built in the original Replica world coordinate system.

prepare_preprocessed.py back-projects depth pixels using Replica camera poses and intrinsics. The resulting sparse semantic voxel points are stored in Replica world coordinates. prepare_scene_occ.py then builds a dense occupancy grid from those points and saves voxel center coordinates in the same Replica world coordinate system.

Preparation Pipeline

The benchmark is created in two main stages, followed by optional visualization checks.

1. Build Sparse Semantic Voxels

prepare_preprocessed.py reads raw Replica RGB-D/semantic data and camera poses. For each scene, it back-projects depth pixels into 3D world points, assigns semantic labels from the semantic-id images, and voxelizes them by majority vote.

Input expected by the script:

Replica_SLAM/
β”œβ”€β”€ cam_params.json
β”œβ”€β”€ office0/
β”‚   β”œβ”€β”€ depths/depth000000.png
β”‚   β”œβ”€β”€ semantic_ids/semantic_id000000.png
β”‚   └── traj.txt
└── ...

Example command:

python prepare_preprocessed.py \
  --replica_root ./Replica_SLAM \
  --out_root ./Replica_OCC \
  --stride 4 \
  --depth_scale -1 \
  --max_depth 10.0 \
  --max_frames -1

Output:

Replica_OCC/preprocessed/<scene>.npy

Each .npy stores an array of shape (N, 7):

x, y, z, r, g, b, label

The RGB columns are placeholders; the semantic label is stored in the last column.

2. Inspect Sparse Voxels

vis_preprocessed.py visualizes the sparse semantic voxels produced by the previous step.

python vis_preprocessed.py \
  --npy ./Replica_OCC/preprocessed/office0.npy

This is mainly a sanity check for depth back-projection and semantic labels.

3. Build Scene-Level Occupancy Packages

prepare_scene_occ.py converts preprocessed/<scene>.npy into a dense scene-level occupancy package. It builds a regular voxel grid, assigns labels by nearest-neighbor lookup, and computes an observed-space mask by projecting voxels into Replica depth frames.

Example command:

python prepare_scene_occ.py \
  --replica_root ./Replica_SLAM \
  --preprocessed_dir ./Replica_OCC/preprocessed \
  --out_dir ./Replica_OCC/global_occ_package \
  --obs_stride_frame 1 \
  --obs_stride_pix 1 \
  --mask_dilate 0 \
  --obs_max_frames -1 \
  --max_depth 10.0

Output:

Replica_OCC/global_occ_package/<scene>.pkl

Each .pkl contains:

scene_name       scene id
scene_dim        dense occupancy grid dimensions
global_pts       dense voxel centers in Replica world coordinates
global_labels    voxel labels
global_mask      observed-space mask
valid_img_count  number of depth images used for mask construction
valid_img_paths  image paths used by the mask builder

Label convention:

0    known free space
>0   occupied semantic label
255  unknown / unobserved

4. Inspect Final Occupancy Packages

vis_scene_occ.py visualizes the final scene-level occupancy package.

python vis_scene_occ.py \
  --pkl ./Replica_OCC/global_occ_package/office0.pkl \
  --downsample 1

Visualization color meaning:

mask = 0              unknown region
mask = 1, label = 0   known free space
mask = 1, label > 0   occupied semantic voxels

Labels

replica_name.txt stores the semantic class names used by Replica_OCC. Evaluation and visualization scripts can use this file to map semantic label ids to readable names.

Scenes

Replica_OCC contains the following eight Replica scenes:

office0
office1
office2
office3
office4
room0
room1
room2

Notes

  • preprocessed/*.npy is an intermediate representation used to reproduce global_occ_package/*.pkl.
  • global_occ_package/*.pkl is the occupancy ground truth used by evaluation.
  • sequences/* is the RGB-D input used by SLAM and Gaussian mapping.
  • The dataset follows a ScanNet-like RGB-D folder layout so it can be used by FreeOcc's shared dataloader.
Downloads last month
13