You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plot_results(gdf)
Traceback (most recent call last):
File "/blue/ewhite/b.weinstein/miniconda3/envs/MillionTrees/lib/python3.10/site-packages/deepforest/visualize.py", line 433, in plot_results
annotated_scene = _plot_image_with_results(df=results,
File "/blue/ewhite/b.weinstein/miniconda3/envs/MillionTrees/lib/python3.10/site-packages/deepforest/visualize.py", line 485, in _plot_image_with_results
detections = convert_to_sv_format(df, height=height, width=width)
File "/blue/ewhite/b.weinstein/miniconda3/envs/MillionTrees/lib/python3.10/site-packages/deepforest/visualize.py", line 323, in convert_to_sv_format
raise ValueError(
ValueError: height and width of the mask must be provided for polygon predictions
to fix, just go and get the height and width within the function, everything is there.
The text was updated successfully, but these errors were encountered:
If the data is well formatted.
to fix, just go and get the height and width within the function, everything is there.
The text was updated successfully, but these errors were encountered: