> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-docs-custom-nodes-sdk-v2-frontend.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# OpticalFlowLoader - ComfyUI Built-in Node Documentation

> models/opticalflow/ 폴더에서 광학 흐름(optical flow) 모델을 불러옵니다. 현재는 torchvision의 RAFT-large 형식만 지원하며, 이는 VOIDWarpedNoise 노드에서 사용하는 모델입니다.

`models/optical_flow/` 폴더에서 광학 흐름(optical flow) 모델을 불러옵니다. 현재는 torchvision의 RAFT-large 형식만 지원하며, 이는 VOIDWarpedNoise 노드에서 사용하는 모델입니다. ComfyUI는 광학 흐름 가중치를 자동으로 다운로드하지 않으므로, 체크포인트 파일을 `models/optical_flow/` 디렉터리에 직접 배치해야 합니다.

## 입력

| 매개변수         | 설명                                                                                          | 데이터 타입 | 필수 | 범위                               |
| ------------ | ------------------------------------------------------------------------------------------- | ------ | -- | -------------------------------- |
| `model_name` | 불러올 광학 흐름 모델입니다. 파일은 `optical_flow` 폴더에 배치해야 합니다. 현재는 torchvision의 `raft_large.pth`만 지원됩니다. | COMBO  | 예  | `models/optical_flow/` 폴더의 파일 목록 |

참고: 선택한 체크포인트는 `feature_encoder.`, `context_encoder.`, `update_block.` 접두사가 포함된 키를 가진 torchvision RAFT-large 상태 사전(state dict)이어야 합니다. 파일이 이 형식과 일치하지 않으면 노드는 ValueError를 발생시킵니다.

## 출력

| 출력 이름          | 설명                                                                                   | 데이터 타입        |
| -------------- | ------------------------------------------------------------------------------------ | ------------- |
| `OPTICAL_FLOW` | 로드된 광학 흐름 모델로, 평가 모드 및 float32 정밀도로 설정되고 다른 노드와 함께 사용할 수 있도록 ModelPatcher에 래핑된 것입니다. | OPTICAL\_FLOW |

> 이 문서는 AI에 의해 생성되었습니다. 오류를 발견하거나 개선 제안이 있으시면 기여해 주세요! [GitHub에서 편집](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/OpticalFlowLoader/ko.md)

***

**Source fingerprint (SHA-256):** `5e79551545ad7ee2fd4856a47da29808a404342d1d5e57da0980058db6b11c3b`
