KerasHub
File size: 1,434 Bytes
6eb610d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
    "module": "keras_hub.src.models.sam.sam_image_segmenter_preprocessor",
    "class_name": "SAMImageSegmenterPreprocessor",
    "config": {
        "name": "sam_image_segmenter_preprocessor",
        "trainable": true,
        "dtype": {
            "module": "keras",
            "class_name": "DTypePolicy",
            "config": {
                "name": "float32"
            },
            "registered_name": null
        },
        "image_converter": {
            "module": "keras_hub.src.models.sam.sam_image_converter",
            "class_name": "SAMImageConverter",
            "config": {
                "name": "sam_image_converter",
                "trainable": true,
                "dtype": {
                    "module": "keras",
                    "class_name": "DTypePolicy",
                    "config": {
                        "name": "float32"
                    },
                    "registered_name": null
                },
                "image_size": [
                    1024,
                    1024
                ],
                "scale": 0.00392156862745098,
                "offset": null,
                "interpolation": "bilinear",
                "crop_to_aspect_ratio": true
            },
            "registered_name": "keras_hub>SAMImageConverter"
        },
        "config_file": "preprocessor.json"
    },
    "registered_name": "keras_hub>SAMImageSegmenterPreprocessor"
}