# Mac OS And AI segmentation with CIP:

**URL:** <https://discourse.slicer.org/t/mac-os-and-ai-segmentation-with-cip/29232>\
**Category:** SlicerCIP\
**Created:** [May 1, 2023, 3:30pm UTC](https://discourse.slicer.org/t/mac-os-and-ai-segmentation-with-cip/29232 "2023-05-01T15:30:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jack\_richecoeur](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jack_richecoeur/32/65841_2.png) [@jack\_richecoeur](https://discourse.slicer.org/u/jack_richecoeur)\
**Post date:** [May 1, 2023, 3:30pm UTC](https://discourse.slicer.org/t/mac-os-and-ai-segmentation-with-cip/29232/1 "2023-05-01T15:30:14Z")

</div>

Operating system:Mac os Ventura 24Giga RAM \*radeon Pro 5300 4 giga  
Slicer version:5.2.2  
Expected behavior: AI lung segmentation.  
Actual behavior: does not work, with messages Error Pytorch CUDA not found ( OK because is a mac oS) and failed to compute results :Errno2 : no such file or directory.  
torch, torchvision, torchaudio installed as recommended on Pytorch site  
-Python3.11.3  
Anaconda  
Homebrew  
Pip3 -all installed with recent versions.  
How to do?  
second question: With high lung densities corresponding to not aerated areas, the segmentation don’t take into account these areas and lung volumes don’t fit with well so I use segment editor to complete the segmentation but it’s time consuming.  
Do you have a other way, best setting (we dont not set the higher density thresold up to 0).  
Thank you for your help.

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [May 1, 2023, 5:05pm UTC](https://discourse.slicer.org/t/mac-os-and-ai-segmentation-with-cip/29232/2 "2023-05-01T17:05:56Z")

</div>

Could you also start all over again fresh installation, please?

[See here](https://discourse.slicer.org/t/totalsegmentator-error-at-first-run-command-pip-install-git-https-github-com-wasserth-totalsegmentator-git-no-deps-returned-non-zero-exit-status/26715/38) for a description.

---

<div class="post-metadata">

**Author:** ![rbumm](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/rbumm/32/9404_2.png) [@rbumm](https://discourse.slicer.org/u/rbumm)\
**Post date:** [May 1, 2023, 5:07pm UTC](https://discourse.slicer.org/t/mac-os-and-ai-segmentation-with-cip/29232/3 "2023-05-01T17:07:09Z")

</div>

We will deal with the second question later.
