deepforest 2.0.0rc1
Pre-release
Pre-release
Version 2.0.0rc1 (Date: October 23, 2025)
Release Candidate 1 - Beta Release
Breaking Changes - Deprecated Items Removed:
Removed Functions:
xml_to_annotations()
- Useutilities.read_pascal_voc(path)
or the generalutilities.read_file(path)
.boxes_to_shapefile()
- Useimage_to_geo_coordinates()
.project_boxes()
- Useimage_to_geo_coordinates()
.annotations_to_shapefile
- Useimage_to_geo_coordinates()
.plot_points()
- Useplot_results
draw_points()
- Useplot_results
plot_predictions()
- Useplot_results
draw_predictions()
- Useplot_results
use_release()
- Useload_model('weecology/deepforest-tree')
insteaduse_bird_release()
- Useload_model('weecology/deepforest-bird')
instead
Removed Parameters:
geometry_type
andsave_dir
fromshapefile_to_annotations()
num_classes
andlabel_dict
fromdeepforest()
constructor - Use config file insteadaugment
parameter from all functions - Useaugmentations
parameter insteadraster_path
parameter from predict_tile() - Usepath
parameter instead
Migration Guide:
- Replace
xml_to_annotations(xml_path)
withread_pascal_voc(xml_path)
- Replace
boxes_to_shapefile(df, root_dir)
withimage_to_geo_coordinates(df, root_dir)
- Replace
plot_points(image, points)
withplot_results(results)
- Replace
draw_points(image, points)
withplot_results(results)
- Replace
plot_predictions(image, df)
withplot_results(results)
- Replace
draw_predictions(image, df)
withplot_results(results)
- Replace
use_release()
withload_model('weecology/deepforest-tree')
- Replace
use_bird_release()
withload_model('weecology/deepforest-bird')
- Use config file or
config_args
instead of constructor parameters - Use
augmentations
parameter instead ofaugment
parameter