HypVINN.utils.stats_utils¶
- HypVINN.utils.stats_utils.compute_stats(orig_path, prediction_path, stats_dir)[source]¶
Compute statistics for the segmentation results.
- Parameters:
- Returns:
- Raises:
RuntimeErrorIf the main function from FastSurferCNN.segstats fails to run.
Notes
The underlying segstats will read the number of threads from the global variable set via
FastSurfer.utils.parallel.set_num_threads.