# Cannot use DETR without downloading backbone

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcannot-use-detr-without-downloading-backbone%2F125639%3E%5C
**Category:** Models\
**Created:** [November 18, 2024, 10:51am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcannot-use-detr-without-downloading-backbone%2F125639 "2024-11-18T10:51:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve-test](https://avatars.discourse-cdn.com/v4/letter/s/7feea3/32.png) [@Steve-test](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FSteve-test)%5C
**Post date:** [November 18, 2024, 10:51am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcannot-use-detr-without-downloading-backbone%2F125639%2F1 "2024-11-18T10:51:23Z")

</div>

I have fintuned a `DETRForObjectDetection` model, but when I want to save it using `save_pretrained()` or push on MLFlow using `mlflow.transformers.log_model()`, it saves the config and the weights of the model and the processor, but not the backbone’s (_resnet101_ ) weights.

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/6/c/6cdff3c455ff6b89cbf2a17b682f671d14f7e3ca.png)

The problem that I have is that it always need to download the backbone or check its cache to use it. Is there a way to save with the model and its components the backbone, so that it never downloads it from a website and can work fully locally without caching. Thank you in advance ! 🙂
