Skip to content
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

Progress bar in "preprocessing/create_sinograms.py" #18

Open
hojunieee opened this issue Jul 28, 2023 · 0 comments
Open

Progress bar in "preprocessing/create_sinograms.py" #18

hojunieee opened this issue Jul 28, 2023 · 0 comments

Comments

@hojunieee
Copy link
Contributor

  1. Add following line to import tqdm
  • "from tqdm import tqdm"
  1. Change the for loop line
  • Before: for example_index in range(len(file_list)):
  • After: for example_index in tqdm(range(len(file_list)), desc="Processing files", unit="file"):

-> For short folder, this is useless, bc MPI part takes longer than the actual main function. However when processing entire brain dataset, I think this might be useful..?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant