Due to the large size of the complete project file, only the Scripts are kept.
- multi-agent
- multi-world and multi-agent
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
- Open the Unity project TileMapRender, run it, and it will prompt to listen to the gRPC port if it runs successfully
- python3 test_grpc.py
- 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
-
Install WFC repo https://gitee.com/electricsoul/pcgworker
-
Open the Unity project TileMapRender, run it, and it will prompt to listen to the gRPC port if it runs successfully
-
Start Training
python simple_train.py --train_eposides 2000 --train_steps 5000 --evlaute_steps 2000 --evol_evaluate_steps 2000 --evlaute_eposide 10