object COCODataset extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- COCODataset
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
load(jsonPath: String, imageRoot: String = "."): COCODataset
Load COCO dataset from local file
Load COCO dataset from local file
- jsonPath
the JSON metadata file path
- imageRoot
the root path of the image files
- returns
the loaded COCO dataset
-
def
loadFromSeqFile(url: String, sc: SparkContext, partitionNum: Option[Int] = None): DataSet[ImageFeature]
Load COCO dataset from Hadoop sequence files
Load COCO dataset from Hadoop sequence files
- url
sequence files folder path on HDFS/Local
- sc
spark context
- partitionNum
partition number, default: Engine.nodeNumber() * Engine.coreNumber()
- returns
ImageFeatures for the dataset. Key in ImageFeature Value Type ImageFeature.bytes decoded image data Array[Byte] ImageFeature.uri Image file name String ImageFeature.label Label & masks RoiLabel RoiImageInfo.ISCROWD isCrowd Tensor[Float]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )