Class VOCLabels
- java.lang.Object
-
- org.deeplearning4j.zoo.util.BaseLabels
-
- org.deeplearning4j.zoo.util.darknet.VOCLabels
-
- All Implemented Interfaces:
Labels
public class VOCLabels extends BaseLabels
-
-
Field Summary
-
Fields inherited from class org.deeplearning4j.zoo.util.BaseLabels
labels
-
-
Constructor Summary
Constructors Constructor Description VOCLabels()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URL
getURL()
protected String
resourceMD5()
protected String
resourceName()
-
Methods inherited from class org.deeplearning4j.zoo.util.BaseLabels
decodePredictions, getLabel, getLabels, getLabels, getResourceFile
-
-
-
-
Constructor Detail
-
VOCLabels
public VOCLabels() throws IOException
- Throws:
IOException
-
-
Method Detail
-
getURL
protected URL getURL()
- Specified by:
getURL
in classBaseLabels
- Returns:
- URL of the resource to download
-
resourceName
protected String resourceName()
- Specified by:
resourceName
in classBaseLabels
- Returns:
- Name of the resource (used for inferring local storage parent directory)
-
resourceMD5
protected String resourceMD5()
- Specified by:
resourceMD5
in classBaseLabels
- Returns:
- MD5 of the resource at getURL()
-
-