mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
fix _resize_seg bug in Resize data transforms (#246)
This commit is contained in:
parent
2bd51e60fd
commit
300f42d006
@ -195,7 +195,7 @@ class Resize(object):
|
||||
else:
|
||||
gt_seg = mmcv.imresize(
|
||||
results[key], results['scale'], interpolation='nearest')
|
||||
results['gt_semantic_seg'] = gt_seg
|
||||
results[key] = gt_seg
|
||||
|
||||
def __call__(self, results):
|
||||
"""Call function to resize images, bounding boxes, masks, semantic
|
||||
|
Loading…
x
Reference in New Issue
Block a user