Package ai.djl.aws.s3
Class S3Repository
java.lang.Object
ai.djl.repository.AbstractRepository
ai.djl.aws.s3.S3Repository
- All Implemented Interfaces:
ai.djl.repository.Repository
public class S3Repository
extends ai.djl.repository.AbstractRepository
A
S3Repository
is a Repository
located on a AWS S3.- See Also:
-
Repository
-
Field Summary
Fields inherited from class ai.djl.repository.AbstractRepository
arguments, name, uri
-
Method Summary
Methods inherited from class ai.djl.repository.AbstractRepository
addResource, getBaseUri, getCacheDirectory, getFile, getName, listDirectory, openStream, prepare, resolvePath, save
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ai.djl.repository.Repository
dataset, dataset, getResourceDirectory, model, model, model, prepare
-
Method Details
-
isRemote
public boolean isRemote() -
locate
- Throws:
IOException
-
resolve
public ai.djl.repository.Artifact resolve(ai.djl.repository.MRL mrl, Map<String, String> filter) throws IOException- Throws:
IOException
-
download
protected void download(Path tmp, URI baseUri, ai.djl.repository.Artifact.Item item, ai.djl.util.Progress progress) throws IOException - Overrides:
download
in classai.djl.repository.AbstractRepository
- Throws:
IOException
-
getResources
-