我的世界python库官网_CraftAssist:Facebook开源的“我的世界(Minecraft)”AI协同智能体研究平台...

The goal of this project is to build an intelligent, collaborative assistant bot in the game of Minecraft1 that can perform a wide variety of tasks specified by human players. Its primary purpose is to be a tool for artifical intelligence researchers interested in grounded dialogue and interactive learning. This project is in active development.

A detailed outline and documentation is available in this paper

This release is motivated by a long-term research agenda described here.

68747470733a2f2f63726166746173736973742e73332d75732d776573742d322e616d617a6f6e6177732e636f6d2f707562722f626f745f34362e676966

Installation & Getting Started

Do this section before cloning the repo.

Dependencies

Make sure the following packages have already been installed before moving on:

CMake

Python3

Glog

Boost

Eigen

For Mac users:

LLVM version < 10 to successfully use clang. Working with multiple versions of Xcode.

Install git-lfs

# OSX

brew install git-lfs

git lfs install

# On Ubuntu

sudo add-apt-repository ppa:git-core/ppa

curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash

sudo apt-get install git-lfs

git lfs install

Checking out the repo

Use this command, or your submodules will not be pulled, and your clone will take a very long time:

git lfs clone --recursive git@github.com:facebookresearch/craftassist.git

Now cd craftassist before proceeding to the following sections.

Building client and server

To build Cuberite and the C++ Minecraft client:

make

Run the Cuberite instance

Run the following command

python ./python/cuberite_process.py

to start an instance of cuberite instance listening on localhost:25565

Connecting your Minecraft game client (so you can see what's happening)

You can inspect the world and view the Minecraft agent's actions by logging into the running Cuberite instance from the game client.

To connect the client to the running Cuberite instance, click in the Minecraft client:

Multiplayer > Direct Connect > localhost:25565

Error: Unsupported Protocol Version

Minecraft has recently release v1.13, and our Cuberite system supports at most v1.12

Please follow these instructions to add a 1.12.x profile and use it to connect.

Running the interactive V0 agent

Assuming you have set up the Cuberite server and the client, in a separate tab, run:

python ./python/craftassist/craftassist_agent.py

You should see a new bot player join the game.

Chat with the bot by pressing t to open the dialogue box, and Enter to submit.

Use the w, a, s, and d keys to navigate, left and right mouse clicks to destroy and place blocks, and e to open your inventory and select blocks to place.

Running tests

./python/craftassist/test.sh

Datasets

Download links to the datasets described in section 6 of Technical Whitepaper are provided here:

In the root of each tarball is a README that details the file structure contained within.

Citation

If you would like to cite this repository in your research, please cite the CraftAssist paper.

License

CraftAssist is MIT licensed.

1 Minecraft features: © Mojang Synergies AB included courtesy of Mojang AB

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值