Skip to content

Instantly share code, notes, and snippets.

View jhludwig's full-sized avatar

John Ludwig jhludwig

View GitHub Profile
@jhludwig
jhludwig / Dockerfile
Last active September 8, 2016 19:14
Dockerfile for FAIR Deepmask
# Surround.io Deepmask Dockerfile
FROM debian:jessie
ENV PATH /usr/local/cuda/bin:/usr/local/nvidia/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# Without this, debconf can ask you interactive questions.
ENV DEBIAN_FRONTEND noninteractive
# Add the Debian backports repo so we can get newer packages.
@jhludwig
jhludwig / classify.lua
Created August 29, 2016 15:12
Image classifier for use with FAIR Deepmask+Sharpmask
--[[----------------------------------------------------------------------------
Copyright (c) 2016-present, Facebook, Inc. All rights reserved.
This source code is licensed under the BSD-style license found in the
LICENSE file in the root directory of this source tree. An additional grant
of patent rights can be found in the PATENTS file in the same directory.
Run full scene inference in sample image
Copyright (c) 2016 Surround.io. Modifications to resize images to a max
width, and output images to a designated dir with a unique timestamp name