Giter VIP home page Giter VIP logo

heidersimmelrl's Introduction

Generating Heider-Simmel animations used for experiments

Requirements

  • Python 3.5
  • Numpy >= 1.14.2
  • PyTorch 0.3.1
  • pybox2d
  • pygame
  • OpenCV >= 3.4.2

HH

Style 1, 100% AD

python -m experiments.gen_social --exp-name Blocking_v1 --checkpoints 2000 16000 --action-freq 1

Style 2, 100% AD

python -m experiments.gen_social --exp-name Blocking_v2 --checkpoints 34400 16000 --action-freq 1

Change AD

Change the argument action-freq from 1, 2, 5, 10, to 15 for 100% AD, 50% AD, 20% AD, 10% AD, and 7% AD respectively

HO

Style 1

python -m experiments.gen_social --exp-name Blocking_v0 --checkpoints 0 16000

Style 2

python -m experiments.gen_social --exp-name Blocking_v0 --checkpoints 0 46000 

Style 3

python -m experiments.gen_social --exp-name Blocking_v0 --checkpoints 0 16000 --restitution 1

OO

collision

python -m experiments.gen_physical --exp-name collision

rod

python -m experiments.gen_physical --exp-name rod

rope

python -m experiments.gen_physical --exp-name rope

spring

python -m experiments.gen_physical --exp-name rope

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.