Giter VIP home page Giter VIP logo

gabriel-disk-tray's Introduction

Overview Build Status Docker Image Status License Gitter

Cognitive Assistance for assembling a disk tray.

Installation

Running the application using Docker is advised. If you want to install from source, please see Dockerfile for details.

How to Run

Client

Run Gabriel's legacy Android Client. You'll need Android Studio to compile and install the apk. Make sure to change IP address of GABRIEL_IP variable at src/edu/cmu/cs/gabriel/Const.java to point to your server.

Server

Container

nvidia-docker run --rm -it --name disktray \
-p 0.0.0.0:9098:9098 -p 0.0.0.0:9111:9111 -p 0.0.0.0:22222:22222 \
-p 0.0.0.0:7070:7070 -p 0.0.0.0:8080:8080 \
-e "DISKTRAY_VIDEO_SERVER_URL=http://<server-public-ip-or-hostname>:8080"  \
jamesjue/gabriel-disk-tray:latest

Source

  1. Set following environment variables
    1. DISKTRAY_FASTER_RCNN_ROOT
    2. DISKTRAY_VIDEO_SERVER_URL
  2. Start the Gabriel Control and Ucomm server
docker run --rm --name gabriel -p 0.0.0.0:9098:9098 \
-p 0.0.0.0:9111:9111 -p 0.0.0.0:22222:22222 -p 10120:10120 \
-p 8021:8021 -p 9090:9090 -p 10101:10101 \
jamesjue/gabriel /bin/bash -c \
"gabriel-control -l -n eth0 & sleep 5; gabriel-ucomm -s 127.0.0.1:8021"
  1. Download the asset file
bash -e scripts/download_asset.sh
  1. Start the Video Instruction HTTP Server at the video feedback directory.
cd feedbacks/video
docker run -dit --name my-apache-app \
-p 8080:80 -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4
  1. Run the DiskTray cognitive engine
disktrayapp -s 127.0.0.1:8021

gabriel-disk-tray's People

Contributors

junjuew avatar

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.