Skip to content

Commit b067f81

Browse files
author
Your Name
committed
t
1 parent c58bb07 commit b067f81

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,4 +140,5 @@ temp.gif
140140
*.mkv
141141
*.csv
142142
*.pdf
143-
.claude/
143+
.claude/
144+
*.mp4

examples/droid/droid_downloader.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,8 +378,8 @@ def download_droid_dataset(
378378
try:
379379
# Load TFDS dataset
380380
print("Loading DROID dataset from TFDS...")
381-
# ds = tfds.load("droid", data_dir="gs://gresearch/robotics", split="train")
382-
ds = tfds.load("droid_100", data_dir="/root/droid-example", split="train")
381+
ds = tfds.load("droid", data_dir="gs://gresearch/robotics", split="train")
382+
# ds = tfds.load("droid_100", data_dir="/root/droid-example", split="train")
383383

384384
# First pass: Extract episode metadata from TFDS (no Ray)
385385
print("Extracting episode metadata from TFDS...")
@@ -546,7 +546,7 @@ def download_droid_dataset(
546546
parser = argparse.ArgumentParser()
547547
parser.add_argument("--output_dir", default="./droid_downloaded_data",
548548
help="Directory to save downloaded data")
549-
parser.add_argument("--num_episodes", type=int, default=100,
549+
parser.add_argument("--num_episodes", type=int, default=3000,
550550
help="Number of episodes to download")
551551
parser.add_argument("--num_workers", type=int, default=64,
552552
help="Number of parallel workers")

examples/droid/droid_to_robodm.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,15 +548,15 @@ def convert_single_trajectory(traj_dir: str, output_dir: str) -> Tuple[bool, str
548548
if __name__ == "__main__":
549549
# Example usage
550550
processor = DROIDProcessor()
551-
output_dir = "./robodm_trajectories"
551+
output_dir = "/home/kych/robodm/robodm_trajectories"
552552

553553
try:
554554
# Parallel download and conversion with 300 success + 100 failure trajectories
555555
print("Starting parallel download and conversion...")
556556
successful_paths = processor.download_sample_trajectories(
557557
output_dir=output_dir,
558-
num_success=50,
559-
num_failure=50
558+
num_success=500,
559+
num_failure=500
560560
)
561561

562562
print(f"\nSuccessfully processed {len(successful_paths)} trajectories:")

examples/droid/droid_vlm_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def main():
577577

578578
# Configuration
579579
parser = argparse.ArgumentParser(description="Run the DROID VLM demo")
580-
parser.add_argument("--data_dir", type=str, default="./robodm_trajectories", help="Directory containing RoboDM trajectory files")
580+
parser.add_argument("--data_dir", type=str, default="/home/kych/robodm/robodm_trajectories", help="Directory containing RoboDM trajectory files")
581581
parser.add_argument("--max_trajectories", type=int, default=100, help="Maximum number of trajectories to process")
582582
args = parser.parse_args()
583583

0 commit comments

Comments
 (0)