我正在使用 dvc 并连接到远程 S3 进行数据跟踪,并在同一个远程 S3 中设置远程 dvc 缓存。以下是配置文件,
[core]
remote = s3remote
[cache]
s3 = s3cache
[‘remote “s3remote”’]
url = S3://dvc-example
endpointurl = http://localhost:9000/
access_key_id = user
secret_access_key = password
use_ssl = false
[‘remote “s3cache”’]
url = s3://dvc-example/cache
endpointurl = http://localhost:9000/
access_key_id = user
secret_access_key = password
use_ssl = false
我可以使用 s3remote 从远程存储库推送和拉取本地存储库。
但是当我尝试通过配置缓存(s3cache)来添加外部数据时,出现错误。
s3cache、s3remote 都具有相同的凭据,那么为什么在 dvc 中添加外部数据时会失败?