facebookresearch / facebookresearch/fvcore

ShapelyDeprecationWarning in CropTransform

Open
#103 0 comments 1 reaction 0 assignees View on GitHub
question
Dominant language
Python
Stars
2.3k
Forks
236
PR merge metrics
No merged PRs in 30d

Description

I'm getting the following warning when using CropTransform on polygons:

"Iteration over multi-part geometries is deprecated and will be removed in Shapely 2.0. Use the `geoms` property to access the constituent parts of a multi-part geometry."

https://github.com/facebookresearch/fvcore/blob/7a0ef0c0839fa0f5e24d2ef7f5d48712f36e7cd7/fvcore/transforms/transform.py#L724-L733

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.