Skip to content

make compute_metrics_reloaded.py faster #10

@naga-karthik

Description

@naga-karthik

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions