Coder Social home page Coder Social logo

cloud_robotics's Introduction

# cloud_robotics
A deep reinforcement learning approach to cloud robotics.

NOTE: Before using this repo in python3, make sure to export the base code directory
on your machine to as CLOUD_ROBOTICS_DIR in your bashrc, like:
    export CLOUD_ROOT_DIR='/Users/csandeep/Documents/cloud_robotics' 

Key Directories:

utils: generic utils to plot and load jsons etc.

simulate_RL: train an RL agent in tensorflow for cloud offloading

hardware_experiments: run an RL agent on a Jetson TX2 embedded GPU with IP camera

data: where to put pre-recorded videos or faces of people to train FaceNet DNN models

DNN_models: 
    - pretrained, base vision DNNs to detect faces and the OpenFace models

scratch_results:
    - where outputs of runs go, such as logfiles and models

Citations:
We modified publicly available code and used vision DNNs from:

1. pyimagesearch: https://www.pyimagesearch.com/

2. OpenFace project: https://cmusatyalab.github.io/openface/

3. jsonsockets library


Common problems on the Jetson TX2 when running Tensorflow with CUDA:

if you get:


2019-03-27 17:20:39.660979: W ./tensorflow/core/common_runtime/gpu/pool_allocator.h:195] could not allocate pinned host memory of size: 2304

add the following, as per:


config = tf.ConfigProto()
config.gpu_options.allow_growth = True

session = tf.Session(config=config, ...)

https://devtalk.nvidia.com/default/topic/1029742/jetson-tx2/tensorflow-1-6-not-working-with-jetpack-3-2/

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.