# Input data type of segment anything model

**URL:** <https://discourse.slicer.org/t/input-data-type-of-segment-anything-model/33762>\
**Category:** Support\
**Created:** [January 14, 2024, 2:46am UTC](https://discourse.slicer.org/t/input-data-type-of-segment-anything-model/33762 "2024-01-14T02:46:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssfzzzc](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@ssfzzzc](https://discourse.slicer.org/u/ssfzzzc)\
**Post date:** [January 14, 2024, 2:46am UTC](https://discourse.slicer.org/t/input-data-type-of-segment-anything-model/33762/1 "2024-01-14T02:46:24Z")

</div>

Good day.  
I tried to use tomoSAM extension on a DICOM CT scan which had dtype of int32, and was unable to create embeddings because int32 is not supported. I used cast scalar module to convert that series into float, double, short and none of them worked. Could you tell me how to change data into other types like int?

Thanks in advance  
Y Zhang
