> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> Farama Gymnasium과 W&B를 통합해 강화 학습 실험을 추적하고 에피소드 비디오를 기록합니다.

# Farama Gymnasium

[Farama Gymnasium](https://gymnasium.farama.org/#)을 사용 중이라면 `gymnasium.wrappers.Monitor`가 생성한 환경 비디오를 자동으로 로깅합니다. [`wandb.init()`](/ko/models/ref/python/functions/init)에서 `monitor_gym` 키워드 인수만 `True`로 설정하면 됩니다.

Gymnasium 인테그레이션은 매우 가볍습니다. `gymnasium`에서 로깅된 [비디오 파일 이름을 확인](https://github.com/wandb/wandb/blob/c5fe3d56b155655980611d32ef09df35cd336872/wandb/integration/gym/__init__.py#LL69C67-L69C67)해 그 이름을 그대로 사용하고, 일치하는 항목을 찾지 못하면 `"videos"`를 대신 사용합니다. 더 세밀하게 제어하려면 언제든 [비디오를 수동으로 로깅](/ko/models/track/log/media/)할 수 있습니다.

CleanRL 라이브러리와 함께 Gymnasium을 사용하는 방법을 더 알아보려면 이 [리포트](https://wandb.ai/raph-test/cleanrltest/reports/Mario-Bros-but-with-AI-Gymnasium-and-CleanRL---Vmlldzo0NTcxNTcw)를 확인하세요.

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541/mVjDwbx0mC8gYx-b/images/integrations/gymnasium.png?fit=max&auto=format&n=mVjDwbx0mC8gYx-b&q=85&s=411a0cd5e0b82ba043062e185cea2259" alt="Gymnasium RL 환경" width="2132" height="1124" data-path="images/integrations/gymnasium.png" />
</Frame>
