Model VGG
This function block integrates a VGG convolutional neural network model into your project, allowing you to perform image classification tasks using VGG16 or VGG19 architectures.
π₯ Inputs
Choose Folder 2D
The input expects data from a "Choose Folder 2D" block, which should provide images in a compatible format for model evaluation.
π€ Outputs
This function block outputs a trained VGG model ready for evaluation and inference.
πΉοΈ Controls
Model Type
A dropdown menu to select either the VGG16 or VGG19 model architecture.
Input Size
A field to specify the input size for the model, representing the dimensions of the images (must be at least 32).
Pooling
A dropdown to select the pooling method to be used in the model (Max
, Average
, or None
).
π¨ Features
Pre-Trained Models
Users can select from two popular VGG architectures designed for image classification tasks.
Flexible Input Size
The input size can be adjusted according to your image dimensions for compatibility with the VGG architecture.
Pooling Options
Offers choices between different pooling methods, enabling customized model architecture.
π Usage Instructions
Input Connection: Connect the output from a "Choose Folder 2D" block to the input of this function block.
Select Model: Choose either
VGG16
orVGG19
from theModel Type
dropdown.Input Size: Specify the desired input size for the images in the
Input Size
field. Make sure the value is 32 or greater.Choose Pooling Method: Select a pooling method (Max, Average, or None) from the
Pooling
dropdown.Evaluate: Run the function block to build and return the selected VGG model, which will then be ready for evaluating images.
π Evaluation
When executed, this function block creates and returns a VGG model that takes images of the specified size and applies the selected pooling method, ready for inference.
π‘ Tips and Tricks
π οΈ Troubleshooting
Last updated