Class DefaultModelZoo


  • public class DefaultModelZoo
    extends ModelZoo
    A ModelZoo that contains models in specified locations.
    • Constructor Detail

      • DefaultModelZoo

        public DefaultModelZoo()
        Constructs a new LocalModelZoo instance.
      • DefaultModelZoo

        public DefaultModelZoo​(java.lang.String locations)
        Constructs a new LocalModelZoo instance from the given search locations.
        Parameters:
        locations - a comma separated urls where the models to be loaded from
    • Method Detail

      • getGroupId

        public java.lang.String getGroupId()
        Returns the global unique identifier of the ModelZoo.

        We recommend to use reverse DNS name as your model zoo group ID to make sure it's not conflict with other ModelZoos.

        Specified by:
        getGroupId in class ModelZoo
        Returns:
        the global unique identifier of the ModelZoo
      • getSupportedEngines

        public java.util.Set<java.lang.String> getSupportedEngines()
        Returns all supported engine names.
        Specified by:
        getSupportedEngines in class ModelZoo
        Returns:
        all supported engine names