ResNet101v2

object ResNet101v2 : TFModels.CV<Functional>

Functions

model
Link copied to clipboard
open fun model(modelHub: ModelHub): Functional

Loads the model, identified by this name, from the modelHub.

preprocessInput
Link copied to clipboard
open fun preprocessInput(preprocessing: Preprocessing): FloatArray
open override fun preprocessInput(data: FloatArray, tensorShape: LongArray): FloatArray

Common preprocessing function for the Neural Networks trained on ImageNet and whose weights are available with the keras.application.

pretrainedModel
Link copied to clipboard
open override fun pretrainedModel(modelHub: ModelHub): ImageRecognitionModel

Returns the specially prepared pre-trained model of the type U.

Properties

modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String

Relative path to model for local and S3 buckets storages.