File size: 699 Bytes
da5a206
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env python3
"""
Direct upload script for the bimanual bone dataset
"""

from huggingface_hub import HfApi
import os

def upload_dataset():
    api = HfApi()
    repo_id = "CHEWYSO/Chewy_Robotics_Bone_Bi-manual_Packing"
    
    print("Uploading dataset with pull request...")
    
    # Upload the current directory (which contains the so101 folder)
    api.upload_folder(
        folder_path=".",
        repo_id=repo_id,
        repo_type="dataset",
        commit_message="Upload bimanual bone packing dataset with so101 folder structure",
        create_pr=True
    )
    
    print("Dataset uploaded successfully with pull request!")

if __name__ == "__main__":
    upload_dataset()