logo
Browse Source

Add transform config

Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
main
Jael Gu 2 years ago
parent
commit
14e813281f
  1. 3
      timm_image.py

3
timm_image.py

@ -92,7 +92,8 @@ class TimmImage(NNOperator):
input_size=self.config['input_size'],
interpolation=self.config['interpolation'],
mean=self.config['mean'],
std=self.config['std']
std=self.config['std'],
crop_pct=self.config['crop_pct']
)
self.skip_tfms = skip_preprocess
else:

Loading…
Cancel
Save