Update README.md
Browse files123---license: cc-by-4.0---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372---license: cc-by-4.0task_categories:- roboticstags:- LeRobot- Robotic manipulationpretty_name: BridgeData V2 Scripted Demossize_categories:- 100K<n<1M---## BridgeData V2 Scripted DemosScripted demonstrations in [BridgeData V2](https://rail-berkeley.github.io/bridgedata/).Ported from raw *scripted_6_18* data at full resolution to LeRobotDataset v3.0 format (0.01 TiB | 0.1k inodes).<div align="center" style="margin: 16px 0;"><video controls autoplay loop muted playsinline style="max-width: 100%; border-radius: 10px;"><source src="https://huggingface.co/datasets/jnogga/bridge_data_v2_scripted/resolve/main/bridge_example_episode.mp4" type="video/mp4">Your browser does not support the video tag.</video></div>For the teleoperated trajectories with language annotation, see [jnogga/bridge_data_v2_teleop](https://huggingface.co/datasets/jnogga/bridge_data_v2_teleop).## Dataset StructureNote that the available cameras vary between episodes. Missing camera perspectives are padded, and the corresponding *_available* sample fields serve as a mask.[meta/info.json](meta/info.json):```json{"codebase_version": "v3.0","robot_type": "widow_x","fps": 5,"data_files_size_in_mb": 100.0,"video_files_size_in_mb": 200.0,"chunks_size": 1000,"total_episodes": 9701,"total_frames": 456260,"total_tasks": 9701,"splits": {"train": "0:9701"},"data_path": "data/chunk-{chunk_index:03d}/file_{file_index:03d}.parquet","video_path": "videos/{video_key}/chunk-{chunk_index:03d}/file_{file_index:03d}.mp4","features": {"action.cartesian": {"dtype": "float32","shape": [7],"names": ["position.x","position.y","position.z","quaternion.w","quaternion.x","quaternion.y","quaternion.z"],"fps": 5},"action.gripper_position": {"dtype": "float32","shape": [1],"names": null,"fps": 5},"observation.cartesian": {"dtype": "float32","shape": [7],"names": ["position.x","position.y","position.z","quaternion.w","quaternion.x","quaternion.y","quaternion.z"],"fps": 5},"observation.gripper_position": {"dtype": "float32","shape": [1],"names": null,"fps": 5},"observation.eef_transform": {"dtype": "float32","shape": [7],"names": ["position.x","position.y","position.z","quaternion.w","quaternion.x","quaternion.y","quaternion.z"],"fps": 5},"observation.joint_position": {"dtype": "float32","shape": [6],"names": ["joint_0","joint_1","joint_2","joint_3","joint_4","joint_5"],"fps": 5},"observation.joint_velocity": {"dtype": "float32","shape": [6],"names": ["joint_0","joint_1","joint_2","joint_3","joint_4","joint_5"],"fps": 5},"frame_index": {"dtype": "int64","shape": [1],"names": null,"fps": 5},"timestamp": {"dtype": "float32","shape": [1],"names": null,"fps": 5},"index": {"dtype": "int64","shape": [1],"names": null,"fps": 5},"task_index": {"dtype": "int64","shape": [1],"names": null,"fps": 5},"episode_index": {"dtype": "int64","shape": [1],"names": null,"fps": 5},"observation.images.camera_0_available": {"dtype": "bool","shape": [1],"names": null,"fps": 5},"observation.images.camera_1_available": {"dtype": "bool","shape": [1],"names": null,"fps": 5},"observation.images.camera_2_available": {"dtype": "bool","shape": [1],"names": null,"fps": 5},"observation.images.camera_3_available": {"dtype": "bool","shape": [1],"names": null,"fps": 5},"observation.images.camera_4_available": {"dtype": "bool","shape": [1],"names": null,"fps": 5},"observation.images.camera_0": {"dtype": "video","shape": [480,640,3],"names": ["height","width","channel"],"info": {"video.height": 480,"video.width": 640,"video.codec": "h264","video.pix_fmt": "yuv420p","video.is_depth_map": false,"video.fps": 5,"video.channels": 3,"has_audio": false},"fps": 5},"observation.images.camera_1": {"dtype": "video","shape": [480,640,3],"names": ["height","width","channel"],"info": {"video.height": 480,"video.width": 640,"video.codec": "h264","video.pix_fmt": "yuv420p","video.is_depth_map": false,"video.fps": 5,"video.channels": 3,"has_audio": false},"fps": 5},"observation.images.camera_2": {"dtype": "video","shape": [480,640,3],"names": ["height","width","channel"],"info": {"video.height": 480,"video.width": 640,"video.codec": "h264","video.pix_fmt": "yuv420p","video.is_depth_map": false,"video.fps": 5,"video.channels": 3,"has_audio": false},"fps": 5},"observation.images.camera_3": {"dtype": "video","shape": [480,640,3],"names": ["height","width","channel"],"info": {"video.height": 480,"video.width": 640,"video.codec": "h264","video.pix_fmt": "yuv420p","video.is_depth_map": false,"video.fps": 5,"video.channels": 3,"has_audio": false},"fps": 5},"observation.images.camera_4": {"dtype": "video","shape": [480,640,3],"names": ["height","width","channel"],"info": {"video.height": 480,"video.width": 640,"video.codec": "h264","video.pix_fmt": "yuv420p","video.is_depth_map": false,"video.fps": 5,"video.channels": 3,"has_audio": false},"fps": 5}}}```## Getting started```py# pip install lerobotfrom lerobot.datasets.lerobot_dataset import LeRobotDatasetdataset = LeRobotDataset("jnogga/bridge_data_v2_scripted")```See [bridge_example.ipynb](bridge_example.ipynb) for a more detailed example.## CitationAll credit goes to the original authors of BridgeData V2. If you find their work helpful, please cite**BibTeX:**```bibtex@inproceedings{walke2023bridgedata,title={BridgeData V2: A Dataset for Robot Learning at Scale},author={Walke, Homer and Black, Kevin and Lee, Abraham and Kim, Moo Jin and Du, Max and Zheng, Chongyi and Zhao, Tony and Hansen-Estruch, Philippe and Vuong, Quan and He, Andre and Myers, Vivek and Fang, Kuan and Finn, Chelsea and Levine, Sergey},booktitle={Conference on Robot Learning (CoRL)},year={2023}}```
README.md+372-3