Giter Site home page Giter Site logo

experience-extraction-from-gameplay-video's Introduction

Player Experience Extraction from Gameplay Video

Official code release for AIIDE 2018 oral presentation paper Player Experience Extraction from Gameplay Video, authored by Zijin Luo, Matthew Guzdial, Nicholas Liao and Mark Riedl.

Table of Contents

Getting Started

This is the repo for the skyrim dataset experiment.

For the Gwario experiment, please checkout the gwario branch

Prerequisites

  • PyTorch ~0.4.0
  • torchvision ~0.3.0
  • numpy
  • PIL
  • tqdm

Installation

git clone https://github.com/IvoryCandy/experience-extraction-from-gameplay-video.git

Structure

- data
  - dataloader.py
  - download.sh
- model
  - model.py
  - download.sh
- main.py
- misc.py
- solver.py

main.py has an argument setting, you can run set your custom hyper-parameters here

solver.py has three solvers -- Backprop, ImageNet, and TeacherStudent. Each solver contains all reletive functions for loading data, training model, and tesing performance. Use them based on your purposes.

Usage

to download data

cd data
bash download.sh

to download pretrained model

cd models
bash download.sh

run under default config

python3 main.py

For customized experiments, select different solvers from solver.py and put it in main.py, and set your own hyper-parameters in arguments.

License

Distributed under the Apache2 license. See LICENSE for more information.

Contributing

experience-extraction-from-gameplay-video's People

Contributors

soapisnotfat avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

gnatbomb

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.