Code Monkey home page Code Monkey logo

overcooked-demo's People

Contributors

alexdigimaker avatar alexlichtenstein avatar bitbanger avatar decodyng avatar dependabot[bot] avatar jyan1999 avatar mesutyang97 avatar micahcarroll avatar nathan-miller23 avatar rohinmshah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

overcooked-demo's Issues

Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use

I've been trying to run a first build of the demo but I get this error:

 => => naming to docker.io/library/overcooked-demo_app                                         0.0s

Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
[+] Running 2/2
 ⠿ Network overcooked-demo_default  Created                                                    0.1s
 ⠿ Container overcooked-demo-app-1  Created                                                    0.1s
Attaching to overcooked-demo-app-1
Error response from daemon: driver failed programming external connectivity on endpoint overcooked-demo-app-1 (4bcc12b01a8dfbf43e45318ecaaa79651e64a6aa7f483b3be00abb1738c42272): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use

The lsof -i :80 returns nothing.

I'm running in a dual boot with windows 10 and Ubuntu Focal 20.04

  • Manual installation of docker version:
Client: Docker Engine - Community
 Version:           20.10.9
 API version:       1.41
 Go version:        go1.16.8
 Git commit:        c2ea9bc
 Built:             Mon Oct  4 16:08:29 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.9
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.8
  Git commit:       79ea9d3
  Built:            Mon Oct  4 16:06:37 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.9
  GitCommit:        1c90a442489720eec95342e1789ee8a5e1b9536f
 runc:
  Version:          1.1.4
  GitCommit:        v1.1.4-0-g5fd4c4d
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

  • Docker Compose version v2.6.0

I've tried restart the PC and the docker service, to no avail.

Thank you for your help.

Layout specific agent selection

Currently can load a agent for layout X into layout Y. Should update the agent to have a set of layouts for which it can be deployed, and only add agents to the drop down menus conditional on the layout selected.

Alternatively, just do as suggested in #4

cannot import name 'escape' from 'jinja2'

I tried to build this demo from Mac computer with macOS Catalina Version 10.15.7, and it failed. The message says:

Starting demo_app_1 ... done
Attaching to demo_app_1
app_1 | Traceback (most recent call last):
app_1 | File "app.py", line 12, in
app_1 | from flask import Flask, render_template, jsonify, request
app_1 | File "/usr/local/lib/python3.7/site-packages/flask/init.py", line 14, in
app_1 | from jinja2 import escape
app_1 | ImportError: cannot import name 'escape' from 'jinja2' (/usr/local/lib/python3.7/site-packages/jinja2/init.py)
demo_app_1 exited with code 1

Is it caused by OS or some package dependencies? Thanks!

Human-Human play

I am trying to find a way to make human-human play possible as well, any helpful suggestions on how to make this happen?

gh-pages is annoying to update

Updating gh-pages requires to manually go through all changes imported to it to change "assets/xxx" mentions to "static/assets/xxx" mentions. We should find a way around this.

Getting both overcooked-ai and overcooked-demo working together.

So, I have been attempting to make this repository work with the main overcooked_ai one and I have run into some issues. For reference, I was attempting to do the Overcooked-Demo-Legacy installation as I need and prefer the .js backend.

  1. when following the instructions, the initial 'npm install' does nothing.

image

Given the previous errors ("no such file"), I figure it had something to do with a missing "cd overcooked-demo-legacy" rather than "cd overcooked-demo" only - so you should add this to your README file. Because once you go into that folder, then you can use 'npm install'. It then gives me this:

image

  1. I don't know what it means by "looking for funding" and typing "npm fund" I just get this:

image

  1. At this point of the instructions I can't proceed anymore. This instruction: "Link to the javascript version of the environment code (this). Linking will warn you about vulnerabilities in overcooked_ai_js" is not working. "this" takes me to a broken link. I still attempted to find the overcooked_ai_js file but it doesn't exist on either the overcooked-ai repo or this one.

How should I proceed?

Pretrained rllib models not loading

I tried following this guide: https://github.com/HumanCompatibleAI/overcooked-demo/tree/master/server/static/assets/agents/RllibSelfPlay_CrampedRoom to add my pretrained rllib agent and play with it, however that didn't work. Trying to lead the already given example doesn't work either as shown in attached picture. Is there an ray compatibility issue, as I saw when the tutorial was pushed into this repository, the corresponding ray version in human aware rl repository was lower, is that the issue?
Screenshot from 2022-11-11 14-38-54

Pretrained rllib models?

Thank you for the codebase. I'm trying to use a pretrained rllib agent to test the demo / environment but I didn't seem to find a proper one in the repo. Are there these model checkpoints available?

Installation error with the 'legacy' branch

Hi, I'm trying to use the 'legacy' branch of this repo to visualize the agents trained using the code in the 'neurips2019' branch of 'human_aware_rl' (this)
However, when I'm following the installation instructions in README, I got some errors.
The errors were raised when I'm trying to run npm run build.

/home/pc/overcooked-demo/static/js/demo/index.js:1
import $ from "jquery";
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'

/home/pc/overcooked-demo/static/js/demo/replay-index.js:1
import $ from "jquery";
^
ParseError: 'import' and 'export' may appear only with 'sourceType: module'

Any idea how to solve this?

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.