Skip to content

Agents and supporting code for the Kaggle Lux AI challenge (Season 1)

Notifications You must be signed in to change notification settings

RuizSerra/LuxAI-agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LuxAI-agents

Agents and supporting code for the Kaggle Lux AI challenge (Season 1)

TLDR

from kaggle_environments import make
import sys

sys.path.append('/Users/jaime/Documents/MachineLearning/LuxAI/LuxAI-agents/')
from agent_loader import AgentLoader
from agents.rl_agents import RLAgent

my_agent = AgentLoader(agent_class=RLAgent).game_loop
env = make("lux_ai_2021")
steps = env.run([my_agent, "simple_agent"])
env.render(mode="ipython", width=1200, height=800)

See example in notebooks/Training.ipynb.


The lux directory is a copy of LuxAI's python kit @ fd1de7aad8ee890dd88b4f384039acc347da937f.

About

Agents and supporting code for the Kaggle Lux AI challenge (Season 1)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published