From e3c6dc6cdaf372ff602730ecb3de54afb1f2beb3 Mon Sep 17 00:00:00 2001 From: David Landup Date: Tue, 8 Oct 2024 18:56:59 +0900 Subject: [PATCH] resizing image converter -> ImageConverter --- .../mix_transformer/mix_transformer_image_converter.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/keras_hub/src/models/mix_transformer/mix_transformer_image_converter.py b/keras_hub/src/models/mix_transformer/mix_transformer_image_converter.py index d5c8f1f70d..e59ea26b66 100644 --- a/keras_hub/src/models/mix_transformer/mix_transformer_image_converter.py +++ b/keras_hub/src/models/mix_transformer/mix_transformer_image_converter.py @@ -1,10 +1,8 @@ from keras_hub.src.api_export import keras_hub_export -from keras_hub.src.layers.preprocessing.resizing_image_converter import ( - ResizingImageConverter, -) +from keras_hub.src.layers.preprocessing.image_converter import ImageConverter from keras_hub.src.models.mix_transformer import MiTBackbone @keras_hub_export("keras_hub.layers.MiTImageConverter") -class MiTImageConverter(ResizingImageConverter): +class MiTImageConverter(ImageConverter): backbone_cls = MiTBackbone