🧠 connectailab-rl-irobtec-v2-lunarlander

CONNECT AI LAB × AI CITY BUILDERS · 강화학습 AI 5강에서 DQN(Deep Q-Network) 으로 직접 학습시킨 두뇌입니다. Gymnasium 루나랜더를 착륙시킵니다.

항목 내용
게임 LunarLander-v3
상태 (입력) 숫자 8개 — 위치 x · y, 속도 x · y, 기울기, 회전 속도, 왼다리 닿음, 오른다리 닿음
행동 (출력) 쉬기, 왼쪽 엔진, 가운데 엔진, 오른쪽 엔진
두뇌 구조 입력 8 → 128 → 128 → 행동 4 (ReLU)
결과 처음 보는 10판 평균 점수 (200 이상 = 성공): 233.6
학습 설정 총걸음 200000, 은닉 128, 학습률 0.0005, 감마 0.99, 탐험기간 0.3, 목표주기 500, 배치 128

플레이 영상

replay.mp4 를 열어 보세요.

쓰는 법

import torch, torch.nn as nn
from huggingface_hub import hf_hub_download
경로 = hf_hub_download('irobtec/connectailab-rl-irobtec-v2-lunarlander', 'model.pt')
두뇌 = nn.Sequential(nn.Linear(8, 128), nn.ReLU(), nn.Linear(128, 128), nn.ReLU(), nn.Linear(128, 4))
두뇌.load_state_dict(torch.load(경로, map_location='cpu'))
행동 = int(두뇌(torch.tensor(상태)).argmax())   # 상태 = 위 표의 입력 숫자들

배운 곳

Downloads last month
25
Video Preview
loading

Evaluation results

  • 처음 보는 10판 평균 점수 (200 이상 = 성공) on LunarLander-v3
    self-reported
    233.600