trait ReadVisionEncoderDecoderDLModel extends ReadTensorflowModel with ReadOnnxModel with ReadOpenvinoModel
- Self Type
- ReadVisionEncoderDecoderDLModel with ParamsAndFeaturesReadable[VisionEncoderDecoderForImageCaptioning]
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReadVisionEncoderDecoderDLModel
- ReadOpenvinoModel
- ReadOnnxModel
- ReadTensorflowModel
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
loadSavedModel(modelPath: String, spark: SparkSession): VisionEncoderDecoderForImageCaptioning
Loads a local SavedModel file of the model.
Loads a local SavedModel file of the model. For VisionEncoderDecoder, requires also image preprocessor config and vocab file.
- modelPath
Path of the Model
- spark
Spark Instance
-
val
onnxFile: String
- Definition Classes
- ReadVisionEncoderDecoderDLModel → ReadOnnxModel
-
val
openvinoFile: String
- Definition Classes
- ReadVisionEncoderDecoderDLModel → ReadOpenvinoModel
- def readModel(instance: VisionEncoderDecoderForImageCaptioning, path: String, spark: SparkSession): Unit
-
def
readOnnxModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, modelName: Option[String] = None, tmpFolder: Option[String] = None, dataFilePostfix: Option[String] = None): OnnxWrapper
- Definition Classes
- ReadOnnxModel
-
def
readOnnxModels(path: String, spark: SparkSession, modelNames: Seq[String], suffix: String, zipped: Boolean = true, useBundle: Boolean = false, dataFilePostfix: String = "_data"): Map[String, OnnxWrapper]
- Definition Classes
- ReadOnnxModel
-
def
readOpenvinoModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true): OpenvinoWrapper
- Definition Classes
- ReadOpenvinoModel
-
def
readOpenvinoModels(path: String, spark: SparkSession, modelNames: Seq[String], suffix: String, zipped: Boolean = true): Map[String, OpenvinoWrapper]
- Definition Classes
- ReadOpenvinoModel
-
def
readTensorflowChkPoints(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, tags: Array[String] = Array.empty, initAllTables: Boolean = false): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
-
def
readTensorflowHub(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
-
def
readTensorflowModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty, initAllTables: Boolean = false, savedSignatures: Option[Map[String, String]] = None): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
-
def
readTensorflowWithSPModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty, initAllTables: Boolean = false, loadSP: Boolean = false): TensorflowWrapper
- Definition Classes
- ReadTensorflowModel
- val suffix: String
-
val
tfFile: String
- Definition Classes
- ReadVisionEncoderDecoderDLModel → ReadTensorflowModel