--- license: mit task_categories: - visual-question-answering - question-answering language: - en tags: - robotics - 6dof-pose - grasping - spatial-reasoning - trajectory - depth-estimation - bop-challenge size_categories: - 10M.png` - `depth_maps/_depth.png` - `masks/_..._mask.png` (comma-separated if multiple objects) ## Record format (LLaVA-style) Each line of a `*-train.jsonl` is a JSON object: ```json { "conversations": [ {"from": "user", "value": "\n"}, {"from": "gpt", "value": ""} ], "images": ["images/scene_000000_frame_000000.png"], "depths": ["depth_maps/scene_000000_frame_000000_depth.png"], "masks": "masks/scene_000000_frame_000000_obj_000018_mask.png", "question_type": "pose", "question_subtype": "matrix", "object_id": 18 } ``` ### Field notes - `conversations`: a user/assistant turn pair. The user prompt starts with the `` sentinel token used by many VLMs (e.g. LLaVA / Qwen-VL). - `images`, `depths`: lists of paths relative to the family folder. - `masks`: a single string. If multiple masks are relevant (e.g. pairwise `trajectory`, `spatial_reasoning`, `object_rearrangement` questions) they are comma-separated: `"masks/...target..._mask.png,masks/...goal..._mask.png"`. Some rows have `masks: null` when the question does not target a specific object (e.g. `camera` extrinsics). Masks are **optional** for most downstream uses. - `object_id`: integer for single-object questions, or a `"target,goal"` string for pairwise ones. Absent for `camera` questions. - `question_type`: one of `pose`, `grasp`, `camera`, `depth_absolute`, `depth_relative`, `spatial_reasoning`, `trajectory`, `object_rearrangement`. - `question_subtype`: further specifies the answer format (e.g. `matrix` / `quaternion` / `2dbbox` / `3dbbox` for `pose`; `2d` / `3d` for `trajectory`; etc.). ## Known caveats - A very small number of depth / mask files (≈0.004% of rows, mostly in LineMOD scenes 12 & 39) are absent because the originals were not recoverable. The JSONLs still reference them so you may want to handle `FileNotFoundError` gracefully in your loader. - `masks` are not strictly required for most VQA training setups; downstream users who only need RGB + depth + the conversations can safely ignore them. ## Quick start ```python import json from datasets import load_dataset ds = load_dataset( "bhatvineet/bopask-train", data_files={"handal": "handal/bopask-handal-train.jsonl", "hope": "hope/bopask-hope-train.jsonl", "linemod": "linemod/bopask-linemod-train.jsonl", "ycbv": "ycbv/bopask-ycbv-train.jsonl"}, ) print(ds) ``` Or streaming one family at a time: ```python import json path = "handal/bopask-handal-train.jsonl" with open(path) as f: for line in f: rec = json.loads(line) # rec["images"][0] is relative to the "handal/" folder ... ``` ## Citation If you use this dataset, please cite the [BOPASK](https://arxiv.org/abs/2511.16857) paper and the underlying BOP-Challenge object-pose datasets (HANDAL, HOPE, LineMOD, YCB-V). ## License Released under the MIT License for the question-answer annotations. The underlying RGB, depth, and mask assets inherit the license of their source BOP-Challenge datasets.