Image Classification
KerasHub
File size: 3,105 Bytes
ead2e2f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
    "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,
                    4,
                    4,
                    4
                ],
                "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",
            "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_classifier",
                    "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"
}