Add comprehensive dataset card for SonoGym_lerobot_dataset

#1
by nielsr HF Staff - opened
Files changed (1) hide show
  1. README.md +67 -0
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ task_categories:
3
+ - robotics
4
+ license: cc-by-nc-4.0
5
+ library_name: lerobot
6
+ tags:
7
+ - simulation
8
+ - surgical-robotics
9
+ - ultrasound
10
+ - reinforcement-learning
11
+ - imitation-learning
12
+ - medical-imaging
13
+ - isaac-lab
14
+ ---
15
+
16
+ # SonoGym: Expert Dataset for Robotic Ultrasound Tasks
17
+
18
+ This repository contains the expert datasets collected for training imitation learning policies as part of the [SonoGym: High Performance Simulation for Challenging Surgical Tasks with Robotic Ultrasound](https://huggingface.co/papers/2507.01152) project.
19
+
20
+ **Project Page:** [https://sonogym.github.io/](https://sonogym.github.io/)
21
+ **SonoGym GitHub Repository:** [https://github.com/SonoGym/SonoGym](https://github.com/SonoGym/SonoGym)
22
+
23
+ ## Overview of SonoGym
24
+
25
+ SonoGym is a scalable simulation platform for complex robotic ultrasound tasks built on NVIDIA IsaacLab. It enables parallel simulation across tens to hundreds of environments and supports realistic, real-time simulation of US data from CT-derived 3D models of anatomy. The framework facilitates the training of deep reinforcement learning (DRL) and imitation learning (IL) agents for relevant tasks in robotic orthopedic surgery, integrating common robotic platforms and orthopedic end effectors.
26
+
27
+ ## Dataset Details
28
+
29
+ This `SonoGym_lerobot_dataset` specifically provides expert trajectories collected within the SonoGym simulation environment. These trajectories are designed for use with the [lerobot library](https://github.com/huggingface/lerobot) to train imitation learning policies for surgical and navigation tasks. This dataset is not necessary for training pure reinforcement learning agents.
30
+
31
+ The dataset includes expert demonstrations collected under various simulation settings:
32
+
33
+ * `Isaac-robot-US-guidance-v0-single`: Ultrasound guidance, single patient, model-based US simulation.
34
+ * `Isaac-robot-US-guidance-v0-single-net`: Ultrasound guidance, single patient, learning-based US simulation.
35
+ * `Isaac-robot-US-guidance-5-models-v0`: Ultrasound guidance, single patient, using 4 learning-based US simulation networks.
36
+ * `Isaac-robot-US-guided-surgery-v0-single-new`: Ultrasound-guided surgery, single patient, model-based US simulation.
37
+ * `Isaac-robot-US-guided-surgery-v0-single-net-new`: Ultrasound-guided surgery, single patient, learning-based US simulation.
38
+ * `Isaac-robot-US-guided-surgery-v0-5-net`: Ultrasound-guided surgery, single patient, using 4 learning-based US simulation networks.
39
+ * `Isaac-robot-US-guided-surgery-v0-5`: Ultrasound-guided surgery, 5 patients, model-based US simulation.
40
+
41
+ ## Sample Usage
42
+
43
+ To utilize this dataset for training imitation learning policies (e.g., ACT or Diffusion Policy) with the `lerobot` library, follow these steps:
44
+
45
+ 1. **Download the dataset:**
46
+ It is recommended to download the dataset and place it in `SonoGym/lerobot-dataset` within your SonoGym project directory for seamless integration.
47
+
48
+ 2. **Train an Imitation Learning Agent:**
49
+ Ensure you have `lerobot` installed. You can then use the training scripts provided within the SonoGym codebase:
50
+ ```bash
51
+ python /path-to-lerobot/lerobot/scripts/train.py --config_path=workflows/lerobot/train_surgery_{method}_cfg.json
52
+ ```
53
+ Replace `{method}` with either `'diffusion'` or `'act'`.
54
+ **Important:** Remember to update the `"dataset": "root"` entry in the relevant `train_surgery_{method}_cfg.json` configuration file to the absolute path of your downloaded dataset, for example: `"/path-to-repo/SonoGym/lerobot-dataset/Isaac-robot-US-guidance-v0-single-net"`.
55
+
56
+ ## Citation
57
+
58
+ If you find our dataset useful for your research and applications, please cite the associated paper:
59
+
60
+ ```bibtex
61
+ @inproceedings{cao2024sonogym,
62
+ title={SonoGym: High Performance Simulation for Challenging Surgical Tasks with Robotic Ultrasound},
63
+ author={Yun-Hsuan Cao and Mengchen Zhang and Gordon Wetzstein and Ryan Po and Ru-Yuan Zhang and Peter X. K. Lu},
64
+ year={2024},
65
+ url={https://huggingface.co/papers/2507.01152},
66
+ }
67
+ ```