public abstract class ImageClassificationModelLoader
extends ai.djl.repository.zoo.BaseModelLoader<java.awt.image.BufferedImage,ai.djl.modality.Classifications>
| Constructor and Description |
|---|
ImageClassificationModelLoader(ai.djl.repository.Repository repository,
java.lang.String artifactId,
java.lang.String version)
Creates the Model loader from the given repository.
|
| Modifier and Type | Method and Description |
|---|---|
ai.djl.translate.Translator<java.awt.image.BufferedImage,ai.djl.modality.Classifications> |
getTranslator(ai.djl.repository.Artifact artifact) |
listModels, loadModel, loadModel, match, search, toStringpublic ImageClassificationModelLoader(ai.djl.repository.Repository repository,
java.lang.String artifactId,
java.lang.String version)
repository - the repository to load the model fromartifactId - the artifact id of the modelversion - the version number of the modelpublic ai.djl.translate.Translator<java.awt.image.BufferedImage,ai.djl.modality.Classifications> getTranslator(ai.djl.repository.Artifact artifact)
getTranslator in class ai.djl.repository.zoo.BaseModelLoader<java.awt.image.BufferedImage,ai.djl.modality.Classifications>