Code Monkey home page Code Monkey logo

brawlstarsai's Introduction

Brawlstars-AI

Brawlstars official: https://bs.qq.com/index.html

Requirements:

cd v0.5.1 single-dixcrete-output(multi-players)
pip install -r requirements.txt
cd yolov5-master(multi-players)
pip install -r requirements.txt

Before Starting

  • (Optional)easyocr解压.pth权重到C:\Users\Administrator.EasyOCR\model

  • (Optional)yolov5字体文件放到C:\Users\Administrator\AppData\Roaming\Ultralytics

  • 将根目录Tesseract-OCR添加到环境变量

Yolo Training

如果想为自己的游戏训练yolo,先在“yolo数据集制作”下准备数据集(附README,下同);再在“yolov5-master(multi-players)”下训练(参考commands.txt)

(Optional) Behavior Cloning Pretrain

cd v0.5.1 single-dixcrete-output(multi-players)
python data_recording.py  # -> pretrain_history
python pretrain.py  # -> history

在data_recording.py开始游戏后,自己操作智能体。也可跳过预训练。

Reinforcement Learning

python DQN_brawlstar.py

brawlstarsai's People

Contributors

ppeterpp avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.