Buckets:
| import os | |
| import shutil | |
| from libero.libero import get_libero_path | |
| def main(): | |
| target_path = os.path.abspath(os.path.join("./", "configs")) | |
| print(f"Copying configs to {target_path}") | |
| if os.path.exists(target_path): | |
| response = input("The target directory already exists. Overwrite it? (y/n) ") | |
| if response.lower() != "y": | |
| return | |
| shutil.rmtree(target_path) | |
| shutil.copytree( | |
| os.path.join(get_libero_path("benchmark_root"), "../configs"), target_path | |
| ) | |
| if __name__ == "__main__": | |
| main() | |
Xet Storage Details
- Size:
- 554 Bytes
- Xet hash:
- ab83c45c1098ecf0c1d9ed9fac0eab35aa45e4a31c9cf29c25ad855f45c23d84
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.