fix Infer.transforms.ResizeImage

pull/2989/head
gaotingquan 2023-09-13 09:05:24 +00:00 committed by Tingquan Gao
parent b462847663
commit 10cf2775e4
2 changed files with 6 additions and 2 deletions

View File

@ -133,7 +133,9 @@ Infer:
to_rgb: True
channel_first: False
- ResizeImage:
resize_short: 256
resize_short: 224
interpolation: bicubic
backend: pil
- CropImage:
size: 224
- NormalizeImage:

View File

@ -133,7 +133,9 @@ Infer:
to_rgb: True
channel_first: False
- ResizeImage:
resize_short: 256
resize_short: 224
interpolation: bicubic
backend: pil
- CropImage:
size: 224
- NormalizeImage: