Exception in thread Thread-2:
Traceback (most recent call last):
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/threading.py", line 926, in _bootstrap_inner
self.run()
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dataloader/dataloader_iter.py", line 218, in _thread_loop
self._thread_done_event)
File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/paddle/fluid/dataloader/fetcher.py", line 121, in fetch
data.append(self.dataset[idx])
File "/home/aistudio/work/PaddleSeg/paddleseg/datasets/dataset.py", line 155, in __getitem__
data = self.transforms(data)
File "/home/aistudio/work/PaddleSeg/paddleseg/transforms/transforms.py", line 78, in __call__
data = op(data)
File "/home/aistudio/work/PaddleSeg/paddleseg/transforms/transforms.py", line 365, in __call__
data[key] = functional.resize(data[key], (w, h), cv2.INTER_NEAREST)
File "/home/aistudio/work/PaddleSeg/paddleseg/transforms/functional.py", line 35, in resize
im = cv2.resize(im, (w, h), interpolation=interp)
TypeError: Expected Ptr for argument '%s'
不知道这是为啥,请大佬指教
TypeError: Expected Ptr for argument '%s',,,看起来是传的参数不对
检查一下数据