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

make compute_metrics_reloaded.py faster #10

Open
naga-karthik opened this issue Jun 8, 2024 · 0 comments
Open

make compute_metrics_reloaded.py faster #10

naga-karthik opened this issue Jun 8, 2024 · 0 comments

Comments

@naga-karthik
Copy link
Member

When computing metrics using ANIMA and MetricsReloaded one can quickly notice that ANIMA is much faster probably because it is written in C++ whereas MetricsReloaded is pure Python. we gain better readability (python vs c++ code) at the cost of speed.

discussing with @valosekj, our wrapper script could be made faster by computing the metrics in parallel instead of a simple for as it is done now.

one idea: use multiprocessing ie spawn multiple workers on multiple subjects (just like the -jobs arg in sct_run_batch ?

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