Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    ValueError
Message:      Invalid string class label data
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 478, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2368, in __iter__
                  example = _apply_feature_types_on_example(
                      example, self.features, token_per_repo_id=self.token_per_repo_id
                  )
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2285, in _apply_feature_types_on_example
                  encoded_example = features.encode_example(example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 2162, in encode_example
                  return encode_nested_example(self, example)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1446, in encode_nested_example
                  {k: encode_nested_example(schema[k], obj.get(k), level=level + 1) for k in schema}
                      ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1469, in encode_nested_example
                  return schema.encode_example(obj) if obj is not None else None
                         ~~~~~~~~~~~~~~~~~~~~~^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1144, in encode_example
                  example_data = self.str2int(example_data)
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1081, in str2int
                  output = [self._strval2int(value) for value in values]
                            ~~~~~~~~~~~~~~~~^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/features/features.py", line 1102, in _strval2int
                  raise ValueError(f"Invalid string class label {value}")
              ValueError: Invalid string class label data

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.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

AffordMatcher: Affordance Learning in 3D Scenes from Visual Signifiers (CVPR 2026)

Nghia Vu

[Project Page] [Paper]

Abstract

Affordance learning is a complex challenge in many applications, where existing approaches primarily focus on the geometric structures, visual knowledge, and affordance labels of objects to determine interactable regions. However, extending this learning capability to a scene is significantly more complicated, as incorporating object- and scene-level semantics is not straightforward. In this work, we introduce AffordBridge, a large-scale dataset with $291,637$ functional interaction annotations across $685$ high-resolution indoor scenes in the form of point clouds. Our affordance annotations are complemented by RGB images that are linked to the same instances within the scenes. Building upon our dataset, we propose AffordMatcher an affordance learning method that establishes coherent semantic correspondences between image-based and point cloud-based instances for keypoint matching, enabling a more precise identification of affordance regions based on cues, so-called visual signifiers.

Overview of AffordMatcher

AffordBridge Dataset

3D Affordance label: We reuse the scene and 3D affordance label of SceneFun3D Dataset. Please navigate to the SceneFun3D homepage to download it

Visual clue images: We reason the affordance labels in scene by annotating visual cue images, which can be downloaded here.

After downloading, you will obtain the data in the following structure

finalized_data
└───420693                  # scene_id
β”‚    └───hook_pull_0        # action in format <action>_<idx>
β”‚    β”‚   β”‚   image_0.png    # list of images
β”‚    β”‚   β”‚   image_1.png
β”‚    β”‚   β”‚   ...
β”‚    β”‚
β”‚    └───hook_pull_1
β”‚    β”‚   β”‚   image_2.png
β”‚    β”‚   β”‚   image_3.png
β”‚    β”‚   β”‚   image_4.png
β”‚    β”‚   β”‚   ...
β”‚    └───rotate_0
β”‚    β”‚   β”‚   image_5.png
β”‚    β”‚   β”‚   image_6.png
β”‚    β”‚   β”‚   image_7.png
β”‚    β”‚   β”‚   ...
β”‚    └───...
└───421093 
β”‚    └───...
└───...

Data Visualization

We visualize the point cloud affordance and visual cue image in our dataset. Modify the scene ID, affordance label and data directory for other visualizations

import open3d as o3d
import numpy as np
import cv2
import random
import os 
import json

scene_id = '420673'  #modify this 
base_point_cloud_dir = './data' #modify this 
point_cloud_annotation_dir = os.path.join(base_point_cloud_dir, scene_id, f"{scene_id}_annotations.json")
point_cloud_dir = os.path.join(base_point_cloud_dir, scene_id, f"{scene_id}_laser_scan.ply")

image_base_dir = './train' #modify this 
image_scene_dir = os.path.join(image_base_dir, scene_id)
action_list = os.listdir(image_scene_dir)

label = 'hook_turn' #modify this 
action_label = [i for i in action_list if label in i]
action_folder = random.choice(action_label)
action_dir = os.path.join(image_scene_dir, action_folder)
image_list = os.listdir(action_dir)
image_dir = os.path.join(action_dir, random.choice(image_list))


pcd = o3d.io.read_point_cloud(point_cloud_dir)

annotation = json.load(open(point_cloud_annotation_dir))
for annotation_data in annotation['annotations']: 
    if annotation_data['label'] == label: 
        affordance_idx  = annotation_data['indices']


        # color affordance red
        colors[affordance_idx] = [1, 0, 0]
        pcd = pcd.select_by_index(affordance_idx)
        pcd.colors = o3d.utility.Vector3dVector(colors)

        # render scene
        vis = o3d.visualization.Visualizer()
        vis.create_window(width=800, height=800, visible=False)
        vis.add_geometry(pcd)
        vis.poll_events()
        vis.update_renderer()

        scene_img = np.asarray(vis.capture_screen_float_buffer())
        scene_img = (scene_img * 255).astype(np.uint8)
        scene_img = cv2.cvtColor(scene_img, cv2.COLOR_RGB2BGR)

        vis.destroy_window()

        # load demonstration image
        demo_img = cv2.imread(image_dir)

        # resize to same height
        h = min(scene_img.shape[0], demo_img.shape[0])

        scene_img = cv2.resize(
            scene_img,
            (int(scene_img.shape[1] * h / scene_img.shape[0]), h)
        )

        demo_img = cv2.resize(
            demo_img,
            (int(demo_img.shape[1] * h / demo_img.shape[0]), h)
        )

        # concatenate
        combined = np.hstack([scene_img, demo_img])

        cv2.imshow("Visualization", combined)
        cv2.waitKey(0)
        exit()

Progress

  • AffordBridge Dataset release: βœ…
  • Detailed reasoning descriptions: TBD

Citation

If you find this work interesting and helpful, please consider citing

@inproceedings{vu2026AffordMatcher,
    title        = {AffordMatcher: Affordance Learning in 3D Scenes from Visual Signifiers},
    author       = {Vu, Nghia and Do, Tuong and Nguyen, Khang and Huang , Baoru and Le, Nhat and Nguyen, Binh X and Tjiputra, Erman and Tran, Quang D and Prakash, Ravi and Chiu, Te-Chuan and Nguyen, Anh},
    year         = {2026},
    booktitle    = {CVPR},
}

License

MIT License

Downloads last month
405

Paper for aiozai/AffordBridge