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.
If the data is well formatted.
to fix, just go and get the height and width within the function, everything is there.