I received this error

Traceback (most recent call last):
  File "main.py", line 512, in <module>
    main(parser.parse_args())
  File "main.py", line 466, in main
    model = train(args, model, True) #Train encoder
  File "main.py", line 215, in train
    for step, (images, labels) in enumerate(loader):
  File "/home/.local/lib/python2.7/site-packages/torch/utils/data/dataloader.py", line 286, in __next__
    return self._process_next_batch(batch)
  File "/home/.local/lib/python2.7/site-packages/torch/utils/data/dataloader.py", line 307, in _process_next_batch
    raise batch.exc_type(batch.exc_msg)
ValueError: Traceback (most recent call last):
  File "/home/.local/lib/python2.7/site-packages/torch/utils/data/dataloader.py", line 57, in _worker_loop
    samples = collate_fn([dataset[i] for i in batch_indices])
  File "/erfnet_pytorch-master/train/dataset.py", line 95, in __getitem__
    image, label = self.co_transform(image, label)
  File "main.py", line 68, in __call__
    target = Resize(64, 86)(target)
  File "build/bdist.linux-x86_64/egg/torchvision/transforms/transforms.py", line 175, in __call__
    return F.resize(img, self.size, self.interpolation)
  File "build/bdist.linux-x86_64/egg/torchvision/transforms/functional.py", line 204, in resize
    return img.resize((ow, oh), interpolation)
  File "/app/anaconda2/envs/tf-1.2/lib/python2.7/site-packages/PIL/Image.py", line 1695, in resize
    raise ValueError("unknown resampling filter")
ValueError: unknown resampling filter