| #!/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() | |