You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fixing VGG Architecture:
* Use `pooling=flatten` correctly
* Use ReLU activation function in classification head Conv2D/Dense
layers
Signed-off-by: Bernhard Bermeitinger <bernhard.bermeitinger@unisg.ch>
* Update keras_hub/src/models/vgg/vgg_image_classifier.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Align dropout layer names
Signed-off-by: Bernhard Bermeitinger <bernhard.bermeitinger@unisg.ch>
* Apply suggestions
Signed-off-by: Bernhard Bermeitinger <bernhard.bermeitinger@unisg.ch>
* Change first conv layer's padding in head to "valid"
The file `tools/checkpoint_conversion/convert_vgg_checkpoints.py` shows
for each of the 4 presets a modeling and preprocessing difference <1e-6.
Signed-off-by: Bernhard Bermeitinger <bernhard.bermeitinger@unisg.ch>
---------
Signed-off-by: Bernhard Bermeitinger <bernhard.bermeitinger@unisg.ch>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
0 commit comments