Skip to content

Commit

Permalink
Merge pull request #627 from Mu-Magdy/main
Browse files Browse the repository at this point in the history
solving the op deprecation warning
  • Loading branch information
ethanwhite committed Mar 20, 2024
2 parents 4139c61 + 009168b commit f9c84c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepforest/evaluate.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def _point_recall_image_(predictions, ground_df, root_dir=None, savedir=None):
ground_df = gpd.GeoDataFrame(ground_df, geometry='geometry')

# Which points in boxes
result = gpd.sjoin(ground_df, predictions, op='within', how="left")
result = gpd.sjoin(ground_df, predictions, predicate='within', how="left")
result = result.rename(
columns={
"label_left": "true_label",
Expand Down

0 comments on commit f9c84c9

Please sign in to comment.