mlreco.post_processing.decorator module¶
-
mlreco.post_processing.decorator.post_processing(filename, data_capture, output_capture)[source]¶ Decorator to capture the common boilerplate between all postprocessing scripts.
The corresponding config block should have the same name as the script.
- Parameters
filename (string or list of string) – Name that will prefix all log files. If a list of strings, several log files can be created. The order of filenames must match the order of the script return.
data_capture (list of string) – List of data components needed. Some of them are reserved: clust_data, seg_label. The rest can be any data label from the config iotool section.
output_capture (list of string) – List of output components needed. Some of them are reserved: embeddings, margins, seediness, segmentation. The rest can be anything from any network output.