{ | |
"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" | |
} |