Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROUP_ID |
Constructor and Description |
---|
DefaultModelZoo(java.lang.String locations)
Creates the
LocalModelZoo instance from the given search locations. |
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, wait
getModelLoader, listModels, listModels, loadModel
public static final java.lang.String GROUP_ID
public DefaultModelZoo(java.lang.String locations)
LocalModelZoo
instance from the given search locations.locations
- a comma separated urls where the models to be loaded frompublic java.util.List<ModelLoader> getModelLoaders()
getModelLoaders
in interface ModelZoo
public 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 ModelZoo
ModelZoo
public java.util.Set<java.lang.String> getSupportedEngines()
getSupportedEngines
in interface ModelZoo