> ## Documentation Index
> Fetch the complete documentation index at: https://wb-21fd5541-serverless-sft-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 데이터 유형 개요

> 미디어 및 구조화된 데이터 로그를 위한 W&B Python SDK의 데이터 유형

W\&B의 Data Types는 Runs 에 로그를 남기기 위해 미디어 및 구조화된 데이터를 래핑하는 클래스입니다. 이들은 W\&B UI에서 시각화 컴포넌트를 포함하며 데이터 직렬화, 저장 및 검색을 처리합니다.

## Available Data Types

| Data Type                                            | Description                           |
| ---------------------------------------------------- | ------------------------------------- |
| [`Image`](/models/ref/python/data-types/image)       | 마스크, 바운딩 박스, 세그멘테이션을 지원하는 이미지를 로그합니다. |
| [`Video`](/models/ref/python/data-types/video)       | 모델 출력 또는 데이터셋 샘플을 위한 비디오 데이터를 추적합니다.  |
| [`Audio`](/models/ref/python/data-types/audio)       | 오디오 처리 작업을 위한 오디오 샘플을 로그합니다.          |
| [`Table`](/models/ref/python/data-types/table)       | 혼합 미디어 유형을 포함할 수 있는 테이블을 생성합니다.       |
| [`Plotly`](/models/ref/python/data-types/plotly)     | 데이터 시각화를 위한 Plotly 차트를 로그합니다.         |
| [`Html`](/models/ref/python/data-types/html)         | 사용자 정의 HTML 콘텐츠를 임베드합니다.              |
| [`Object3D`](/models/ref/python/data-types/object3d) | 3D 포인트 클라우드 및 메시를 시각화합니다.             |
| [`Molecule`](/models/ref/python/data-types/molecule) | 계산 화학을 위한 분자 구조를 로그합니다.               |

## Examples

이 예제는 `Image` 를 사용합니다:

```python theme={null}
import wandb
import matplotlib.pyplot as plt

# 데모 목적으로 이미지를 생성합니다
path_to_img = "/path/to/cafe.png"
im = plt.imread(path_to_img)

# 새로운 run 초기화
with wandb.init(project="awesome-project") as run:

    # 이미지 로그
    run.log({"img": [wandb.Image(im, caption="Cafe")]})
```

이 예제는 텍스트와 레이블이 혼합된 테이블을 로그하기 위해 `Table` 을 사용합니다:

```python theme={null}
import wandb

# 새로운 run 초기화
with wandb.init(project="visualize-predictions", name="tables") as run:

    # 리스트의 리스트를 사용하여 테이블 데이터 생성
    data = [["Cat", "1", "1"],["Dog", "0", "-1"]]
    run.log({"Table 1": wandb.Table(data=data, columns=["Text", "Predicted Label", "True Label"])})

    # `wandb.Table.add_data()` 메소드를 사용하여 테이블 데이터 생성
    table = wandb.Table(columns=["Text", "Predicted Label", "True Label"])
    table.add_data("Cat", "1", "1")
    table.add_data("Dog", "0", "-1")
    run.log({"Table 2": table})
```
