GithubHelp home page GithubHelp logo

uvavision / chat-crowd Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 13.44 MB

[NAACL 2019] A web interface for collecting dialog data for interactive drawing of 2D shapes

Python 40.00% HTML 35.69% CSS 4.79% JavaScript 19.23% Dockerfile 0.29%

chat-crowd's Introduction

chat-crowd

How to run?

  1. create a virtual environment with Python 3.6
  2. pip install -r requirements.txt
  3. cd main
  4. python run.py
  5. visit http://localhost:8080.

2D Shape Dialog

Painter's View painter view

Instructor's View instructor view

COCO Image Layout Dialog

Painter's View painter view

Instructor's View instructor view

chat-crowd's People

Contributors

xuwangyin avatar pcascanteb avatar songfeng avatar

Stargazers

 avatar Vicente Ordonez Roman avatar

Watchers

 avatar James Cloos avatar Vicente Ordonez Roman avatar

Forkers

ersks

chat-crowd's Issues

clean up html

once we thoroughly test the combined version, let's remove all the commented (old) code in the html files.

2D shape synthetic data generation

  • images - reference
    https://github.com/alsuhr-c/nlvr-baselines

  • instruction patterns / dialog acts - randomly generated instructions with(out) image references?
    TEXT PATTERN || ACTIONS || RESULTED LAYOUT
    draw a {color} {shape} // new // obj1-(x, y)
    place a {color} {shape} to the left of obj1 // new // obj1-(x,y), obj2-(x-1, y)

  • added gold and noise - evaluate painters' actions
    e.g., add {obj1} above {obj2} while {obj2} is missing

html

  • history.html is missing?

  • instruction_agent.html and instruction_use.html to be removed?

py file refactor

  • move coco2db*.py to core folder ?

  • rename "coco2db_2Dshape.py" (e.g., "layout2db" ?) and the variables in it, since it has nothing to do with coco data?

post processing

  • rename folder "crowdflower" to "crowdsourcing"

  • add code to "crowdsourcing" module - for downloading the collected data from remote mongoDB server? backups shouldn't be only on the same server.

  • commit add other data post processing code (analysis.py) somewhere, which may not be included for open source version.

update config

  • remove all hardcoded "deep.cs.virginia.edu" CF api key, CF job id etc. to config file

update image collection

  • update config files - "coll_coco_anno" --> "coll_image_anno" and rename the collection (remove coco)

  • update or remove the collection "coll_coco_anno_test", currently, "coll_coco_anno_test" is not working

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.