caelum02 / Lux-AI-Season-2

Lux AI Season 2 - NeurIPS Stage | Team Martian
1 stars 0 forks source link

JuxAction.from_lux에서 AssertionError #4

Closed caelum02 closed 10 months ago

caelum02 commented 11 months ago
import jux
from jux.env import JuxEnv
from jux.config import JuxBufferConfig

from utils import replay_run_early_phase, replay_run_n_late_game_step

MAX_N_UNITS = 200
n = 400

lux_env, lux_actions = jux.utils.load_replay('https://www.kaggleusercontent.com/episodes/52900827.json')
jux_env, state = JuxEnv.from_lux(lux_env, buf_cfg=JuxBufferConfig(MAX_N_UNITS=MAX_N_UNITS))

state, lux_actions = replay_run_early_phase(jux_env, state, lux_actions)

state, lux_actions = replay_run_n_late_game_step(n, jux_env, state, lux_actions)    

image

매 실행마다 동일하게 377번째 real step에서 발생함 해당 리플레이

caelum02 commented 10 months ago

다른 replay에서 같은 함수에서 에러 또 발생

image