# Uploading model into pytorch mobile

**URL:** <https://discuss.pytorch.org/t/uploading-model-into-pytorch-mobile/131399>\
**Category:** Uncategorized\
**Created:** [September 8, 2021, 7:54am UTC](https://discuss.pytorch.org/t/uploading-model-into-pytorch-mobile/131399 "2021-09-08T07:54:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriele\_Ranzieri](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/gabriele_ranzieri/32/42013_2.png) [@Gabriele\_Ranzieri](https://discuss.pytorch.org/u/Gabriele_Ranzieri)\
**Post date:** [September 8, 2021, 7:54am UTC](https://discuss.pytorch.org/t/uploading-model-into-pytorch-mobile/131399/1 "2021-09-08T07:54:30Z")

</div>

Hi,

I’ve uploaded my custom model into a pytorch mobile app with the code “module = Module.load(assetFilePath(this, “model\_Im2Im\_enc.pt”));”

I don’t know why but as soon as this line is processed, my app stop to work.

How can i fix it? I’ve uploaded some other model like MobileNetV2 and all is working good, the problem comes when i start using custom model.

Thanks in advice
