Default to us-west-1 when downloading from s3://openpi-assets

This commit is contained in:
Ury Zhilinsky
2025-02-05 13:49:24 -08:00
parent 231a1cf7ca
commit 884a39ebb1

View File

@@ -81,6 +81,9 @@ def maybe_download(url: str, **kwargs) -> pathlib.Path:
_download_boto3(
url,
scratch_path,
boto_session=boto3.Session(
region_name="us-west-1",
),
botocore_config=botocore.config.Config(signature_version=botocore.UNSIGNED),
)
elif url.startswith("s3://"):