# Model Weight 다운로드

### Roboflow Inference를 통한 자동 다운로드(권장)

[Roboflow Inference](https://inference.roboflow.com/) 은 CPU 및 GPU 장치에서 로컬로 모델을 실행하기 위한 오픈소스 확장형 시스템입니다.

**시작하는 가장 빠르고 가장 신뢰할 수 있는 방법입니다**. Inference를 사용하면 파일이나 버전 관리를 따로 할 필요가 없습니다. Roboflow Inference가 코드 실행 시 처음으로 모델 가중치를 자동으로 가져와 캐시합니다.

* **작동 방식**: 첫 번째 inference 요청 시 가중치가 Roboflow의 서버에서 다운로드되어 로컬에 저장됩니다. 이후 모든 예측은 이 로컬 캐시를 사용하며—이미지는 클라우드로 전송되지 않습니다.
* **배포 옵션**:
  * [Workflows](/roboflow/roboflow-ko/workflows/deploy-a-workflow.md): 프로덕션용 다단계 컴퓨터 비전 워크플로우용
  * [Python inference SDK](https://inference.roboflow.com/quickstart/run_a_model/): Python 통합용

### 수동 모델 가중치 다운로드

때로는 원시 가중치 파일(예: PyTorch `.pt` 파일)이 필요할 수 있습니다. 예를 들어, 커스텀 Android 구현과 같이 Roboflow가 아직 기본적으로 지원하지 않는 장치에서 실행하려는 경우입니다.

다음을 참조하세요 [지원되는 모델 표](/roboflow/roboflow-ko/deploy/supported-models.md) 가중치 다운로드 호환성을 위해

{% hint style="warning" %}
**프리미엄 기능**: 수동 가중치 다운로드는 Core 플랜의 유료 사용자와 일부 Enterprise 고객에게만 제공됩니다. 자세한 내용은 [가격 페이지](https://roboflow.com/pricing).
{% endhint %}

#### 방법 A: Roboflow Platform

Project 내에서 해당 Model version으로 이동하세요. 플랜이 허용하는 경우, "Download Weights" 버튼을 클릭하면 가중치를 다운로드할 수 있습니다. 그러면 임베디드 장치에서 사용할 수 있도록 변환할 수 있는 파일이 제공됩니다.

<figure><img src="/files/7ed63b775f8209ae7c7b41a85d766d72a88e6121" alt="Download Weights button"><figcaption></figcaption></figure>

#### 방법 B: Python SDK

Roboflow Python 패키지를 사용하여 가중치를 디렉터리에 직접 다운로드할 수도 있습니다:

```python
import roboflow

rf = roboflow.Roboflow(api_key="YOUR_API_KEY")
model = rf.workspace().project("PROJECT_ID").version("1").model
model.download() # 로컬 폴더에 'weights.pt'를 다운로드합니다
```

**참고**: Roboflow는 Roboflow Inference 생태계 밖에서 사용되는 모델 가중치에 대해 기술 지원을 제공하지 않습니다. 최상의 경험을 위해 1절에 설명된 Inference 경로를 사용하는 것을 권장합니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.roboflow.com/roboflow/roboflow-ko/deploy/download-roboflow-model-weights.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
