# Batch processing with MONAI Auto3DSeg extension module

**URL:** https://discourse.slicer.org/t/batch-processing-with-monai-auto3dseg-extension-module/35993
**Category:** Feature requests
**Tags:** segmentation, python, monai, monai-auto3dseg
**Created:** [May 8, 2024, 2:45pm UTC](https://discourse.slicer.org/t/batch-processing-with-monai-auto3dseg-extension-module/35993 "2024-05-08T14:45:58Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Osson4](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/osson4/32/70236_2.png) [@Osson4](https://discourse.slicer.org/u/Osson4)
#### Post date: [May 8, 2024, 2:45pm UTC](https://discourse.slicer.org/t/batch-processing-with-monai-auto3dseg-extension-module/35993/1 "2024-05-08T14:45:58Z")

</div>

I am working on a set of around 60 CTs and I would like to process the volumes with the same model (brain and hemorrage) from the new monai Auto3dSeg extension module.  
While I can process them one by one within the GUI, by selecting every volume and generating a new segmentation each time (which is pretty tedious), I wanted a way to batch process a series of volumes like with other slicer modules.  
I tried to implement this in the python interactor in Slicer, but I am not a coding expert and I can’t seem to work it out.  
there’s probably an easy solution involving the modules’ attributes but I can’t find it.  
thanks to whomever might help me!

input: loaded volumes  
output: segmentation model inferences from Monai auto3Dseg module

---

<div class="post-metadata">

### Author: ![LeidyMoraV](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/leidymorav/32/70144_2.png) [@LeidyMoraV](https://discourse.slicer.org/u/LeidyMoraV)
#### Post date: [May 8, 2024, 6:32pm UTC](https://discourse.slicer.org/t/batch-processing-with-monai-auto3dseg-extension-module/35993/2 "2024-05-08T18:32:09Z")

</div>

I’m don’t really know much about MONAI but there is a batch processing in another module named ALPACA, maybe you can look it up and try to use something similar to that.
