aleju / imgaug

Image augmentation for machine learning experiments.
http://imgaug.readthedocs.io
MIT License
14.43k stars 2.44k forks source link

AttributeError: 'Polygon' object has no attribute 'deepcopy' #713

Closed xiankgx closed 4 years ago

xiankgx commented 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?

xiankgx commented 4 years ago

Ok, seems like there is a clashed of naming with shapely's Polygon. I think it should be good now.