You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception in thread Thread-2:
Traceback (most recent call last):
File "/Users/apple/miniconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/Users/apple/miniconda3/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/Users/apple/miniconda3/lib/python3.9/site-packages/paddle/fluid/dataloader/dataloader_iter.py", line 217, in _thread_loop
batch = self._dataset_fetcher.fetch(indices,
File "/Users/apple/miniconda3/lib/python3.9/site-packages/paddle/fluid/dataloader/fetcher.py", line 121, in fetch
data.append(self.dataset[idx])
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/datasets/cd_dataset.py", line 134, in getitem
sample = self.transforms.apply_transforms(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 122, in apply_transforms
sample = op(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 184, in call
sample = self.apply(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 1237, in apply
sample = Resize(self.crop_size)(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 184, in call
sample = self.apply(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 479, in apply
sample['mask'] = self.apply_mask(sample['mask'], target_size)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 427, in apply_mask
mask = cv2.resize(mask, target_size, interpolation=cv2.INTER_NEAREST)
TypeError: Expected Ptrcv::UMat for argument 'src'
The text was updated successfully, but these errors were encountered:
Exception in thread Thread-2:
Traceback (most recent call last):
File "/Users/apple/miniconda3/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/Users/apple/miniconda3/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/Users/apple/miniconda3/lib/python3.9/site-packages/paddle/fluid/dataloader/dataloader_iter.py", line 217, in _thread_loop
batch = self._dataset_fetcher.fetch(indices,
File "/Users/apple/miniconda3/lib/python3.9/site-packages/paddle/fluid/dataloader/fetcher.py", line 121, in fetch
data.append(self.dataset[idx])
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/datasets/cd_dataset.py", line 134, in getitem
sample = self.transforms.apply_transforms(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 122, in apply_transforms
sample = op(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 184, in call
sample = self.apply(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 1237, in apply
sample = Resize(self.crop_size)(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 184, in call
sample = self.apply(sample)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 479, in apply
sample['mask'] = self.apply_mask(sample['mask'], target_size)
File "/Users/apple/zx-workspace/GeoView/PaddleRS/paddlers/transforms/operators.py", line 427, in apply_mask
mask = cv2.resize(mask, target_size, interpolation=cv2.INTER_NEAREST)
TypeError: Expected Ptrcv::UMat for argument 'src'
The text was updated successfully, but these errors were encountered: