# Download pretrained model during inference

**URL:** https://community.drivendata.org/t/download-pretrained-model-during-inference/5425
**Category:** TissueNet: Detect Lesions in Cervical Biopsies
**Created:** [October 29, 2020, 6:34pm UTC](https://community.drivendata.org/t/download-pretrained-model-during-inference/5425 "2020-10-29T18:34:29Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![NarenWulan](https://avatars.discourse-cdn.com/v4/letter/n/858c86/32.png) [@NarenWulan](https://community.drivendata.org/u/NarenWulan)
#### Post date: [October 29, 2020, 6:34pm UTC](https://community.drivendata.org/t/download-pretrained-model-during-inference/5425/1 "2020-10-29T18:34:29Z")

</div>

During running, my main.py will automatically download a pretrained model to a specific file shown as follows:  
 ![WeChat Screenshot_20201028025506](https://canada1.discourse-cdn.com/flex028/uploads/drivendata1/original/2X/f/f00246e184004ba4b5020f15f2d0071dfbbf237f.png)  
How could I fix this? Could you please help me download the model and put it into the right path? Or should I download it and then send it to you for placing it into the path?  
@bull

---

<div class="post-metadata">

### Author: ![bull](https://yyz2.discourse-cdn.com/flex028/user_avatar/community.drivendata.org/bull/32/8_2.png) [@bull](https://community.drivendata.org/u/bull)
#### Post date: [October 29, 2020, 6:37pm UTC](https://community.drivendata.org/t/download-pretrained-model-during-inference/5425/2 "2020-10-29T18:37:15Z")

</div>

Reference the runtime section:

> **[TissueNet: Detect Lesions in Cervical Biopsies](https://www.drivendata.org/competitions/67/competition-cervical-biopsy/page/257/#runtime)**
>
> The objective of this challenge is to detect the most severe epithelial lesions of the uterine cervix. The challenge brings together thousands of microscopic slides from different medical centers across France.

The runtime does not allow internet access so any pretrained models you use must be included in your submission.
