# Slicer automated dental tools AMASSS

**URL:** <https://discourse.slicer.org/t/slicer-automated-dental-tools-amasss/31727>\
**Category:** Support\
**Created:** [September 14, 2023, 8:31pm UTC](https://discourse.slicer.org/t/slicer-automated-dental-tools-amasss/31727 "2023-09-14T20:31:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [September 14, 2023, 8:31pm UTC](https://discourse.slicer.org/t/slicer-automated-dental-tools-amasss/31727/1 "2023-09-14T20:31:10Z")

</div>

hi,

Any one has got the Slicer automated dental tools to work ?

I am using the Slicer 5.5.0-2023-09-13 r32175 / 23bf4eb on Garuda Linux (6.4.12-zen1-1-zen (64-bit))

I have downloaded test scans and latest models and when i run the prediction it stops after few seconds  
This is the message i get,

========= ERROR =========

CLI execution failed:

In the future `np.bool` will be defined as the corresponding NumPy scalar.  
In the future `np.bool` will be defined as the corresponding NumPy scalar.  
Traceback (most recent call last):  
File “/home/manjula/Documents/Software/Slicer-5.5.0-2023-09-13-linux-amd64/slicer.org/Extensions-32175/SlicerAutomatedDentalTools/lib/Slicer-5.5/cli-modules/AMASSS\_CLI.py”, line 99, in   
import itk  
File “/home/manjula/Documents/Software/Slicer-5.5.0-2023-09-13-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/ **init**.py”, line 28, in   
from itk.support.extras import \*  
File “/home/manjula/Documents/Software/Slicer-5.5.0-2023-09-13-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/support/extras.py”, line 35, in   
import itk.support.types as itkt  
File “/home/manjula/Documents/Software/Slicer-5.5.0-2023-09-13-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/support/types.py”, line 175, in   
) = itkCType.initialize\_c\_types\_once()  
File “/home/manjula/Documents/Software/Slicer-5.5.0-2023-09-13-linux-amd64/lib/Python/lib/python3.9/site-packages/itk/support/types.py”, line 140, in initialize\_c\_types\_once  
\_B: “itkCType” = itkCType(“bool”, “B”, np.bool)  
File “/home/manjula/Documents/Software/Slicer-5.5.0-2023-09-13-linux-amd64/lib/Python/lib/python3.9/site-packages/numpy/ **init**.py”, line 313, in **getattr**  
raise AttributeError( **former\_attrs** [attr])  
AttributeError: module ‘numpy’ has no attribute ‘bool’.  
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.  
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:  
[NumPy 1.20.0 Release Notes — NumPy v2.0.dev0 Manual](https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations)

Thank you

---

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [September 22, 2023, 3:44pm UTC](https://discourse.slicer.org/t/slicer-automated-dental-tools-amasss/31727/2 "2023-09-22T15:44:57Z")

</div>

Ok Figure out the issue with the Slicer automated dental tools.

It works only on the stable release. I was trying it on the latest versions.

---

<div class="post-metadata">

**Author:** ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Post date:** [September 23, 2023, 3:05pm UTC](https://discourse.slicer.org/t/slicer-automated-dental-tools-amasss/31727/3 "2023-09-23T15:05:40Z")

</div>

Can you explain more your context (how did you make it work) and share results?  
I’be interested on trying this myself

Thanks a lot,  
Mauro

---

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [September 23, 2023, 7:38pm UTC](https://discourse.slicer.org/t/slicer-automated-dental-tools-amasss/31727/4 "2023-09-23T19:38:33Z")

</div>

Hi Mauro,

Well, it works perfectly but only on the Slicer stable version ( I tried the ALI and AMASSS). I tried installing the Python libraries manually with the preview release. I haven’t tried the rest.

How it works?

1. Fresh download of the 3D Slicer stable version and extract.
2. Install only the SlicerAutomatedDentalTools extension

**ALI**

It works well with the test data and **other CBCT** (I tried)

 ![Screenshot](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/8/48ce3c67a4009f07503ea2862c040e55f167e2b7.jpeg)  
With test data

 ![Screenshot2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/0/70538d82caf225bf87895ecfa1ec97ef8f4b454f.png)  
with a another CBCT

AMASSS ( It works well with the test data and I did not have time to test other CBCTs)

 ![Screenshot_1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/5/e559a4bf3838617ead75d654678540f4d2914c10.jpeg)

I tried SlicerDentalModelSeg this way and did not work.  
The output I get from SlicerDentalModelSeg. Even when I install the missing packages pandas,tqdm etc. using them using “pip\_install(“pandas”)” it finally ends with error messages. this is the first error.

> **[Crown Segmentation - Pastebin.com](https://pastebin.com/6491EVnr)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

However when I install other extensions (even if I uninstall and reinstall only the Dental tools this does not work and these are the outputs I get.

> **[AMASS Module - Pastebin.com](https://pastebin.com/ShLBGVcT)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

> **[ALI Module - Pastebin.com](https://pastebin.com/X86RLT1g)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

---

<div class="post-metadata">

**Author:** ![hortakc](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hortakc/32/76987_2.png) [@hortakc](https://discourse.slicer.org/u/hortakc)\
**Post date:** [June 20, 2024, 7:05pm UTC](https://discourse.slicer.org/t/slicer-automated-dental-tools-amasss/31727/5 "2024-06-20T19:05:14Z")

</div>

Hi @manjula !  
Are you still working with ALI and AMASS?  
Which version is working well for you?  
I am trying the 5.6.2 and they are not working properly

---

<div class="post-metadata">

**Author:** ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)\
**Post date:** [June 25, 2024, 3:33pm UTC](https://discourse.slicer.org/t/slicer-automated-dental-tools-amasss/31727/6 "2024-06-25T15:33:43Z")

</div>

Yes I do and both works.
