|
{ |
|
"module": "keras_hub.src.models.vgg.vgg_image_classifier", |
|
"class_name": "VGGImageClassifier", |
|
"config": { |
|
"backbone": { |
|
"module": "keras_hub.src.models.vgg.vgg_backbone", |
|
"class_name": "VGGBackbone", |
|
"config": { |
|
"stackwise_num_repeats": [ |
|
2, |
|
2, |
|
2, |
|
2, |
|
2 |
|
], |
|
"stackwise_num_filters": [ |
|
64, |
|
128, |
|
256, |
|
512, |
|
512 |
|
], |
|
"image_shape": [ |
|
null, |
|
null, |
|
3 |
|
] |
|
}, |
|
"registered_name": "keras_hub>VGGBackbone" |
|
}, |
|
"preprocessor": { |
|
"module": "keras_hub.src.models.vgg.vgg_image_classifier_preprocessor", |
|
"class_name": "VGGImageClassifierPreprocessor", |
|
"config": { |
|
"name": "vgg_image_classifier_preprocessor", |
|
"trainable": true, |
|
"dtype": { |
|
"module": "keras", |
|
"class_name": "DTypePolicy", |
|
"config": { |
|
"name": "float32" |
|
}, |
|
"registered_name": null |
|
}, |
|
"image_converter": { |
|
"module": "keras_hub.src.models.vgg.vgg_image_converter", |
|
"class_name": "VGGImageConverter", |
|
"config": { |
|
"name": "vgg_image_converter", |
|
"trainable": true, |
|
"dtype": { |
|
"module": "keras", |
|
"class_name": "DTypePolicy", |
|
"config": { |
|
"name": "float32" |
|
}, |
|
"registered_name": null |
|
}, |
|
"image_size": null, |
|
"scale": [ |
|
0.017124753831663668, |
|
0.01750700280112045, |
|
0.017429193899782133 |
|
], |
|
"offset": [ |
|
-2.1179039301310043, |
|
-2.0357142857142856, |
|
-1.8044444444444445 |
|
], |
|
"interpolation": "bilinear", |
|
"crop_to_aspect_ratio": true |
|
}, |
|
"registered_name": "keras_hub>VGGImageConverter" |
|
}, |
|
"config_file": "preprocessor.json" |
|
}, |
|
"registered_name": "keras_hub>VGGImageClassifierPreprocessor" |
|
}, |
|
"name": "vgg_image_classifier", |
|
"num_classes": 1000, |
|
"pooling": "avg", |
|
"activation": null, |
|
"dropout": 0.0, |
|
"pooling_hidden_dim": 4096 |
|
}, |
|
"registered_name": "keras_hub>VGGImageClassifier" |
|
} |