t

com.johnsnowlabs.nlp.annotators.cv

ReadVisionEncoderDecoderDLModel

trait ReadVisionEncoderDecoderDLModel extends ReadTensorflowModel with ReadOnnxModel with ReadOpenvinoModel

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReadVisionEncoderDecoderDLModel
  2. ReadOpenvinoModel
  3. ReadOnnxModel
  4. ReadTensorflowModel
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. 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

  2. val onnxFile: String
  3. val openvinoFile: String
  4. def readModel(instance: VisionEncoderDecoderForImageCaptioning, path: String, spark: SparkSession): Unit
  5. 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
  6. 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
  7. def readOpenvinoModel(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true): OpenvinoWrapper
    Definition Classes
    ReadOpenvinoModel
  8. def readOpenvinoModels(path: String, spark: SparkSession, modelNames: Seq[String], suffix: String, zipped: Boolean = true): Map[String, OpenvinoWrapper]
    Definition Classes
    ReadOpenvinoModel
  9. def readTensorflowChkPoints(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, tags: Array[String] = Array.empty, initAllTables: Boolean = false): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  10. def readTensorflowHub(path: String, spark: SparkSession, suffix: String, zipped: Boolean = true, useBundle: Boolean = false, tags: Array[String] = Array.empty): TensorflowWrapper
    Definition Classes
    ReadTensorflowModel
  11. 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
  12. 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
  13. val suffix: String
  14. val tfFile: String