View source: R/createVggModel.R
createFullyConvolutionalVggModel2D | R Documentation |
Creates a keras model of the Vgg deep learning architecture for image recognition based on the paper
createFullyConvolutionalVggModel2D(
inputImageSize,
layers = c(1, 2, 3, 4, 4),
lowestResolution = 64,
convolutionKernelSize = c(3, 3),
poolSize = c(2, 2),
strides = c(2, 2),
dropoutRate = 0,
style = 19,
activation = "relu"
)
inputImageSize |
Used for specifying the input tensor shape. The shape (or dimension) of that tensor is the image dimensions followed by the number of channels (e.g., red, green, and blue). The batch size (i.e., number of training images) is not specified a priori. |
layers |
a vector determining the number of filters defined at for each layer. |
lowestResolution |
number of filters at the beginning. |
convolutionKernelSize |
2-d vector definining the kernel size during the encoding path |
poolSize |
2-d vector defining the region for each pooling layer. |
strides |
2-d vector describing the stride length in each direction. |
dropoutRate |
float between 0 and 1 to use between dense layers. |
style |
|
activation |
activation function for convolutional layer. |
K. Simonyan and A. Zisserman, Very Deep Convolutional Networks for Large-Scale Image Recognition
available here:
\url{https://arxiv.org/abs/1409.1556}
This particular implementation was influenced by the following python implementation:
\url{https://gist.github.com/baraldilorenzo/8d096f48a1be4a2d660d}
a VGG keras model
Tustison NJ
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.