Skip to content

Commit

Permalink
resolve conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
LikeLy-Journey committed Mar 28, 2020
2 parents 1b403f6 + 7e6fbd2 commit a2108d3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions segmentron/data/dataloader/pascal_voc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Pascal VOC Semantic Segmentation Dataset."""
import os
import torch
import logging
import numpy as np

from PIL import Image
Expand Down Expand Up @@ -85,7 +84,6 @@ def __getitem__(self, index):
img, mask = self._val_sync_transform(img, mask)
else:
assert self.mode == 'testval'
logging.warn("Use mode of testval, you should set batch size=1")
img, mask = self._img_transform(img), self._mask_transform(mask)
# general resize, normalize and toTensor
if self.transform is not None:
Expand Down

0 comments on commit a2108d3

Please sign in to comment.