We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8552d35 commit 937985eCopy full SHA for 937985e
mmdeploy/codebase/mmseg/deploy/segmentation.py
@@ -36,7 +36,7 @@ def process_model_config(model_cfg: mmcv.Config,
36
# for static exporting
37
if input_shape is not None:
38
cfg.data.test.pipeline[1]['img_scale'] = tuple(input_shape)
39
- cfg.data.test.pipeline[1]['transforms'][0]['keep_ratio'] = False
+ cfg.data.test.pipeline[1]['transforms'][0]['keep_ratio'] = False
40
cfg.data.test.pipeline = [LoadImage()] + cfg.data.test.pipeline[1:]
41
42
return cfg
0 commit comments