CV

sealed class CV<T : GraphTrainableModel> : TFModelType<T, ImageRecognitionModel>

Image recognition models and preprocessing.

Types

DenseNet121
Link copied to clipboard
class DenseNet121(inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

DenseNet169
Link copied to clipboard
class DenseNet169(inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

DenseNet201
Link copied to clipboard
class DenseNet201(inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

Inception
Link copied to clipboard
class Inception(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

MobileNet
Link copied to clipboard
class MobileNet(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

MobileNetV2
Link copied to clipboard
class MobileNetV2(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

NASNetLarge
Link copied to clipboard
class NASNetLarge(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

NASNetMobile
Link copied to clipboard
class NASNetMobile(noTop: Boolean) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet101
Link copied to clipboard
class ResNet101(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet101v2
Link copied to clipboard
class ResNet101v2(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet152
Link copied to clipboard
class ResNet152(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet152v2
Link copied to clipboard
class ResNet152v2(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet18
Link copied to clipboard
class ResNet18(inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet34
Link copied to clipboard
class ResNet34(inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet50
Link copied to clipboard
class ResNet50(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

ResNet50v2
Link copied to clipboard
class ResNet50v2(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

VGG16
Link copied to clipboard
class VGG16(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Sequential>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

VGG19
Link copied to clipboard
class VGG19(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Sequential>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

Xception
Link copied to clipboard
class Xception(noTop: Boolean, inputShape: IntArray?) : TFModels.CV<Functional>

This model is a neural network for image classification that take images as input and classify the major object in the image into a set of 1000 different classes (labels are available via org.jetbrains.kotlinx.dl.impl.dataset.Imagenet.V1k.labels method).

Functions

loadModelConfiguration
Link copied to clipboard
open override fun loadModelConfiguration(jsonFile: File): T

Loads model configuration from the provided jsonFile.

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

Properties

inputShape
Link copied to clipboard
var inputShape: IntArray? = null
modelRelativePath
Link copied to clipboard
open override val modelRelativePath: String
preprocessor
Link copied to clipboard
open val preprocessor: Operation<Pair<FloatArray, TensorShape>, Pair<FloatArray, TensorShape>>

Inheritors

TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard
TFModels.CV
Link copied to clipboard