Upload model
Browse files
image_processing_vqmodel.py
CHANGED
@@ -13,6 +13,7 @@ class VQModelImageProcessor(BaseImageProcessor): # type: ignore
|
|
13 |
size: int = 256,
|
14 |
convert_rgb: bool = False,
|
15 |
resample: Image.Resampling = Image.Resampling.LANCZOS,
|
|
|
16 |
) -> None:
|
17 |
self.size = size
|
18 |
self.convert_rgb = convert_rgb
|
|
|
13 |
size: int = 256,
|
14 |
convert_rgb: bool = False,
|
15 |
resample: Image.Resampling = Image.Resampling.LANCZOS,
|
16 |
+
**kwargs: dict,
|
17 |
) -> None:
|
18 |
self.size = size
|
19 |
self.convert_rgb = convert_rgb
|