YeWR / EfficientZero

Open-source codebase for EfficientZero, from "Mastering Atari Games with Limited Data" at NeurIPS 2021.
GNU General Public License v3.0
871 stars 137 forks source link

Question about whether need to train multiple agents for different games #39

Open QiGuLongDongQiang opened 1 year ago

QiGuLongDongQiang commented 1 year ago

Thanks for you open-sourced code very much. Recently, I want to apply the model used for breakout to other games, but I find that different games have different action Spaces, which will lead to errors in the process of test, the parameter dimension of breakout is inconsistent with that of other games, I would like to ask whether each game needs to train an agent separately,I really hope to get your answer,tank you

YeWR commented 1 year ago

Each game needs to train an agent separately.

The dynamics function takes in the actions, and the policy function outputs the actions. Since different environments have different actions and the current agent interacts with one environment at a time, the trained Breakout model cannot transfer to another environment.