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_resultsdraw_points()- Useplot_resultsplot_predictions()- Useplot_resultsdraw_predictions()- Useplot_resultsuse_release()- Useload_model('weecology/deepforest-tree')insteaduse_bird_release()- Useload_model('weecology/deepforest-bird')instead
Removed Parameters:
geometry_typeandsave_dirfromshapefile_to_annotations()num_classesandlabel_dictfromdeepforest()constructor - Use config file insteadaugmentparameter from all functions - Useaugmentationsparameter insteadraster_pathparameter from predict_tile() - Usepathparameter 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_argsinstead of constructor parameters - Use
augmentationsparameter instead ofaugmentparameter