nondefaced_detector.models
nondefaced_detector.dataloaders
nondefaced_detector.preprocess
nondefaced_detector.preprocessing
nondefaced_detector.training
nondefaced_detector.prediction
nondefaced_detector.inference
nondefaced_detector.helpers
nondefaced_detector.utils
predict
Return predictions from a list of input volumes.
volumes (list) – A list of Path like strings to the volumes to make the prediction on.
model_path (str - Path) – The path to pretrained model weights.
n_slices (int, optional, default=32) – The number of 2D slices of the MRI volume to predict on.
A list of predicted probabilities.
list