Skip to content

jxiong21029/mcio-vpt-example

Repository files navigation

Instructions for VPT:

  1. Install dependencies. An example environment.yml for conda users and an example requirements.txt for pip users are provided.
  2. Download the desired .weights file from the VPT github, and place them in a directory called data/. For example:
    • mkdir data
    • wget -P data/ https://openaipublic.blob.core.windows.net/minecraft-rl/models/bc-house-3x.weights
  3. Run run_vpt.py. Add the --headless flag for running on headless systems.

Instructions for STEVE-1:

  1. Install dependencies (see above).
  2. Download MineCLIP weights, STEVE-1 prior weights, and STEVE-1 policy weights:
    • gdown https://drive.google.com/uc?id=1uaZM1ZLBz2dZWcn85rZmjP7LV6Sg5PZW -O data/mineclip_attn.pth
    • gdown https://drive.google.com/uc?id=1OdX5wiybK8jALVfP5_dEo0CWm9BQbDES -O data/steve1_prior.pt
    • gdown https://drive.google.com/uc?id=1E3fd_-H1rRZqMkUKHfiMhx-ppLLehQPI -O data/steve1.weights
  3. Run run_steve1.py {prompt} with the desired prompt
    • E.g. for the logs task, the prompt 'chop down the tree, gather wood, pick up wood, chop it down, break tree' was used in the paper.
    • Add the --headless flag for running on headless systems.
    • Add --guidance {guidance} to set the classifier-free guidance scale (default 0).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages