-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[♻️] Add tqdm for Progress Bars #176
base: main
Are you sure you want to change the base?
Conversation
Nice! I think the most important place for these to go would be on the os.listdir(path) loops inside of the generate_automated_labels_tweetynet, generate_automated_labels_microfaune, generate_automated_labels_birdnet, etc... since those are fairly large bottlenecks. |
Here is an example from some unpushed changes I was playing around with on the template-matching branch -
|
I imagine a message could look something like: "Performing Template Matching on " + dir_name |
I'll also add that in the near future we will be adding in two new local score array generation techniques; template-matching and a foreground-background segmentation technique. Once those are up, it will be easier to add tqdm to their respective loops all at once. |
@JacobGlennAyers Whats the status of this branch? Seems like you wanted to add something before more development was done for it |
Addresses #168
I'm not entirely sure what loops should have been modified, so
Notebook runs fine but unit tests seemed to have failed on the configuration step.
Example of progress bar in the notebook:
![Example of progress bar in the notebook](https://private-user-images.githubusercontent.com/146884027/295257989-8334855b-4458-4761-9e93-5b9acdd81747.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwOTE4OTMsIm5iZiI6MTcyNjA5MTU5MywicGF0aCI6Ii8xNDY4ODQwMjcvMjk1MjU3OTg5LTgzMzQ4NTViLTQ0NTgtNDc2MS05ZTkzLTViOWFjZGQ4MTc0Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMVQyMTUzMTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hYjkyYTU2NTUwYTM4MjBmY2UxMThmNjY0ZjgyMzhkZjMzMWRiYjFlMGYzNTNhOWQ2YmU3MjIzMzhiZDdmYzdiJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.4hzI9ZSmM_0HqcFCPUWfiJuNr8yFWitF77fiJLNoSqQ)