-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update TileProgress class and related code
Update the `TileProgress` class and related code to include new attributes. * **TileProgress Class:** - Add attributes: `current_set_name`, `current_image_name`, `current_image_idx`, `total_images`, `current_tile_idx`. - Remove attributes: `current_tile`, `current_set`, `current_image`. * **YoloTiler Class:** - Update `_tqdm_callback` method to handle new attributes. - Modify progress updates to use `current_set_name` and `current_tile_idx`. - Update progress callback invocations to include new attributes with placeholders for `current_image_idx` and `total_images`. * **Tests:** - Update `progress_callback` function in `tests/test_yolo_tiler.py` to handle new attributes.
- Loading branch information
1 parent
9e4ee58
commit 24b8d98
Showing
2 changed files
with
35 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters