Competition_1v1snakes
任务:贪吃蛇 snakes_1v1
Dependency
You need to create competition environment.
conda create -n snake1v1 python=3.7
conda activate snake1v1
pip install -r requirements.txt
random_agent.py
Baseline 👉请看submission.py
Homework 👉请看How to train rl-agent
python rl_trainer/main.py
You can edit different parameters, for example
python rl_trainer/main.py --lr_a 0.001 --seed_nn 2
How to test submission
When your submission is ready, you can locally test your submission. At Jidi platform, we evaluate your submission as same as run_log.py
Once you run this file, you can locally check battle logs in the folder named "logs".
Have fun~