Skip to content

Commit 09efaac

Browse files
committed
-updated resize
1 parent 902fcd1 commit 09efaac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eval/eval_cityscapes_color.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828

2929
image_transform = ToPILImage()
3030
input_transform_cityscapes = Compose([
31-
Resize(512),
31+
Resize((512,1024),Image.BILINEAR),
3232
ToTensor(),
3333
#Normalize([.485, .456, .406], [.229, .224, .225]),
3434
])
3535
target_transform_cityscapes = Compose([
36-
Resize(512),
36+
Resize((512,1024),Image.NEAREST),
3737
ToLabel(),
3838
Relabel(255, 19), #ignore label to 19
3939
])

0 commit comments

Comments
 (0)