# Integrating a model (.pth) in Slicer for segmentation in monailabel

**URL:** <https://discourse.slicer.org/t/integrating-a-model-pth-in-slicer-for-segmentation-in-monailabel/25892>\
**Category:** Support\
**Tags:** segmentation, extensions-manager\
**Created:** [October 25, 2022, 12:32pm UTC](https://discourse.slicer.org/t/integrating-a-model-pth-in-slicer-for-segmentation-in-monailabel/25892 "2022-10-25T12:32:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deboshree\_roy](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/deboshree_roy/32/17026_2.png) [@deboshree\_roy](https://discourse.slicer.org/u/deboshree_roy)\
**Post date:** [October 25, 2022, 12:32pm UTC](https://discourse.slicer.org/t/integrating-a-model-pth-in-slicer-for-segmentation-in-monailabel/25892/1 "2022-10-25T12:32:01Z")

</div>

Operating system: Windows  
Slicer version: 5.0.3  
Expected behavior: The custom designed pre-trained models are working fine. I am trying to load my own model (.pth) and expecting a good result  
Actual behavior: On loading my own custom developed model the results are all cracked up.  
I want to know how to load the.pth file into the module
