TypeError: transforms.arrange
must be an Arrange object.
#192
Labels
question
Further information is requested
transforms.arrange
must be an Arrange object.
#192
Thanks for your issue. To help us better solve the issue, please provide the following information:
欢迎您的提问。辛苦您提供以下信息,以方便我们快速定位和解决问题:
File "E:\teacher_mission\pytorch_flask_service\main.py", line 106, in road_extraction
pred = predictor.predict(data_path)
File "D:\Anaconda\envs\paddlers\lib\site-packages\paddlers-1.0.0-py3.9.egg\paddlers\deploy\predictor.py", line 314, in predict
results = self._run(images=images, topk=topk, transforms=transforms)
File "D:\Anaconda\envs\paddlers\lib\site-packages\paddlers-1.0.0-py3.9.egg\paddlers\deploy\predictor.py", line 251, in _run
preprocessed_input = self.preprocess(images, transforms)
File "D:\Anaconda\envs\paddlers\lib\site-packages\paddlers-1.0.0-py3.9.egg\paddlers\deploy\predictor.py", line 151, in preprocess
preprocessed_samples = self._model.preprocess(
File "D:\Anaconda\envs\paddlers\lib\site-packages\paddlers-1.0.0-py3.9.egg\paddlers\tasks\segmenter.py", line 592, in preprocess
self._check_transforms(transforms, 'test')
File "D:\Anaconda\envs\paddlers\lib\site-packages\paddlers-1.0.0-py3.9.egg\paddlers\tasks\segmenter.py", line 732, in _check_transforms
super()._check_transforms(transforms, mode)
File "D:\Anaconda\envs\paddlers\lib\site-packages\paddlers-1.0.0-py3.9.egg\paddlers\tasks\base.py", line 677, in _check_transforms
raise TypeError("
transforms.arrange
must be an Arrange object.")TypeError:
transforms.arrange
must be an Arrange object.The text was updated successfully, but these errors were encountered: