Skip to content

aod321/AgentEnvCoEvolution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Framework

示意图

Unity3D dm_env_rpc Server implementation

Due to the large size of the complete project file, only the Scripts are kept.

GRPCServer repo

Agent-world co-evolution

Multi-world and Multi-agent

Demos

  1. multi-agent

  1. multi-world and multi-agent

Development Diary(in Chinese)

Gitee Wiki

THBI Git WIKI

Installation

git clone http://git.thbi.cc/yinzi/AgentEnvCoEvolution.git
conda create --name grpcunity python=3.9
conda activate grpcunity
pip install dm_env_rpc
conda install grpcio
pip install docker
pip install portpicker
pip install stable-baselines3
pip install einops
pip install opencv-python
pip install colorama
pip install pygame
pip install tqdm

Keyboard Control

  1. Open the Unity project TileMapRender, run it, and it will prompt to listen to the gRPC port if it runs successfully
  2. python3 test_grpc.py
  3. Mouse focus in the pygame window, then use the keyboard to control:
    Keys Actions
    Up
    Down
    Left
    Right
    Q Turn Left
    E Turn Right
    R Look Up
    F Look Down
    Space Jump

Joint WFC mutation

  1. Install WFC repo https://gitee.com/electricsoul/pcgworker

  2. Open the Unity project TileMapRender, run it, and it will prompt to listen to the gRPC port if it runs successfully

  3. Start Training

    python simple_train.py --train_eposides 2000 --train_steps 5000 --evlaute_steps 2000 --evol_evaluate_steps 2000 --evlaute_eposide 10

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published