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
在“paddleseg/transforms/transforms.py”文件的“Compose”的__call__() 方法中,当cv2.imread()读取的数据不存在时,会引发“AttributeError: 'NoneType' object has no attribute 'astype'”异常,而对于读取的数据的判空操作位于astype操作之后,后续判断无法捕获NoneType引发的异常。
我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.
是否愿意提交PR? Are you willing to submit a PR?
我愿意提交PR!I'd like to help by submitting a PR!
The text was updated successfully, but these errors were encountered:
问题确认 Search before asking
Bug描述 Describe the Bug
在“paddleseg/transforms/transforms.py”文件的“Compose”的__call__() 方法中,当cv2.imread()读取的数据不存在时,会引发“AttributeError: 'NoneType' object has no attribute 'astype'”异常,而对于读取的数据的判空操作位于astype操作之后,后续判断无法捕获NoneType引发的异常。
复现环境 Environment
OS: Windows
PaddlePaddle: 2.2.2
PaddleSeg: release/2.8
Python: 3.9
CUDA: 11.3
CUDNN: 8.5.0
Bug描述确认 Bug description confirmation
是否愿意提交PR? Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: