Modifier and Type | Field and Description |
---|---|
static java.lang.String |
GROUP_ID |
Constructor and Description |
---|
DefaultModelZoo()
Constructs a new
LocalModelZoo instance. |
DefaultModelZoo(java.lang.String locations)
Constructs a new
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.
|
getModelLoader, getModelZoo, hasModelZoo, listModels, listModels, listModelZoo, loadModel
public static final java.lang.String GROUP_ID
public DefaultModelZoo()
LocalModelZoo
instance.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 class 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 class ModelZoo
ModelZoo
public java.util.Set<java.lang.String> getSupportedEngines()
getSupportedEngines
in class ModelZoo