open-forest-observatory / tree-detection-framework

BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

Include progress bar or progress messages in Detector.predict #42

Closed youngdjn closed 2 weeks ago

youngdjn commented 3 weeks ago

Some predictions can take a long time and it can be unclear when (or whether) they will finish. To help with this, it would be nice to include some sort of progress reporting in Detector.predict, such as Performing prediction: 4% complete (chip 2 of 50 in image 1 of 1).

russelldj commented 3 weeks ago

The tqdm library is a nice way to do this. The desc attribute when creating a progress bar allows you to add descriptive text.