| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GROUP_ID |
| Constructor and Description |
|---|
LocalModelZoo(java.nio.file.Path folder)
Creates the
LocalModelZoo instance from the given directory. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGroupId()
Returns the global unique identifier of the
ModelZoo. |
java.util.List<ModelLoader<?,?>> |
getModelLoaders()
Lists the available model families in the ModelZoo.
|
java.util.Set<java.lang.String> |
getSupportedEngines()
Returns all supported engine names.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetModelLoader, listModels, loadModelpublic static final java.lang.String GROUP_ID
public LocalModelZoo(java.nio.file.Path folder)
LocalModelZoo instance from the given directory.folder - the directory to load models frompublic java.util.List<ModelLoader<?,?>> getModelLoaders()
getModelLoaders in interface ModelZoopublic java.lang.String getGroupId()
ModelZoo.
We recommend to use reverse DNS name as your model zoo group ID to make sure it's not conflict with other ModelZoos.
getGroupId in interface ModelZooModelZoopublic java.util.Set<java.lang.String> getSupportedEngines()
getSupportedEngines in interface ModelZoo