SAHI not compatible with Shapely==1.8.5 #1045
-
Hello, I would like to report an issue with the compatibility of the SAHI package with Shapely version 1.8.5.In this configuration, when attempting to use sahi.utils.coco, the following error occurs: File /opt/conda/lib/python3.10/site-packages/sahi/init.py:3 File /opt/conda/lib/python3.10/site-packages/sahi/annotation.py:9 File /opt/conda/lib/python3.10/site-packages/sahi/utils/coco.py:17 ImportError: cannot import name 'MultiPolygon' from 'shapely' (/opt/conda/lib/python3.10/site-packages/shapely/init.py) The fix is trivial, just replace line 17 in sahi/utils/coco.py: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@DamianBisewski, this issue is fixed in the latest pr thanks to @Alias-z 🚀 |
Beta Was this translation helpful? Give feedback.
@DamianBisewski, this issue is fixed in the latest pr thanks to @Alias-z 🚀
#1047