Closed xiankgx closed 4 years ago
When I try to transform an image and its corresponding polygons within a PyTorch dataset __getitem__(self, idx) method, I am faced with this problem. No problem if I instead just do it outside of this method.
My imgaug version is 0.4.0. What is the problem?
Ok, seems like there is a clashed of naming with shapely's Polygon. I think it should be good now.
When I try to transform an image and its corresponding polygons within a PyTorch dataset __getitem__(self, idx) method, I am faced with this problem. No problem if I instead just do it outside of this method.
My imgaug version is 0.4.0. What is the problem?