Giter VIP home page Giter VIP logo

arena-evaluation's Introduction

EMMA: Evaluation on the Alexa Arena

Python 3.9 PyTorch Poetry
pre-commit style: black wemake-python-styleguide

Continuous Integration Tests

Important

If you have questions or find bugs or anything, you can contact us in our organisation's discussion.

About

We use code in this repository to generate new missions to facilitate self-play, to run the agent in the environment, and to evaluate the agent for the eval.ai leaderboard.

Important

We only ever ran this on a Ubuntu 20 Linux machine. This has not been tested or verified on MacOS or Windows. Your mileage may vary.

Installing dependencies

You can run the convenience script at scripts/prepare-user-area.sh.

Caution

I HIGHLY RECOMMEND reading the script to know what it does, because you might not need all of it! The convenience script does do some sudo-based file changes so if you don't want to permanently dirty your computer, look at it!

Running things

Tip

If you need sudo to run Docker, prefix the poetry run command with: sudo -E env PATH=$PATH.

T1 evaluation (the one for evai.ai)

When running T1, progress is sent to wandb:emma-simbot/alexa-arena-evaluation. All session IDs are prefixed with T1-.

Steps

  1. Create a new tmux session.

  2. In one tmux pane, run sudo /usr/bin/X :1 &

  3. In the other pane, run:

    poetry run python -m simbot_offline_inference run-background-services
  4. Finally, in a third pane, run:

    poetry run python -m simbot_offline_inference run-their-evaluation
  5. Let it run.

Running the trajectory generation

When running trajectories, each one is a new "run", and all the runs are tracked at wandb:emma-simbot/arena-high-level-trajectories.

Steps

  1. Create a new tmux session.

  2. In one tmux pane, run sudo /usr/bin/X :1 &

  3. In the other pane, run:

    poetry run python -m simbot_offline_inference run-background-services
  4. Finally, in a third pane, run:

    poetry run python -m simbot_offline_inference generate-trajectories
  5. Let it run.

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.