Skip to content

Instantly share code, notes, and snippets.

@jamesmgg
jamesmgg / inception.py
Created February 14, 2017 07:49
TensorFlow problem loading files from URLs
import time,glob,re,sys,logging,os,tempfile
import numpy as np
import tensorflow as tf
from scipy import spatial
from settings import AWS,INDEX_PATH,CONFIG_PATH,DATA_PATH
try:
from settings import DEMO
except ImportError:
DEMO = None
pass
jaimeguajardo@Jaimes-MacBook-Pro-2 ~/D/I/t/V/docker> fab build
WARNING:root:No EC2 host present
[] Executing task 'build'
[localhost] local: docker build --build-arg CACHE_DATE=$(date +%Y-%m-%d:%H:%M:%S) -t visualsearchserver .
Sending build context to Docker daemon 8.192 kB
Error response from daemon: Bad response from Docker engine
Fatal error: local() encountered an error (return code 1) while executing 'docker build --build-arg CACHE_DATE=$(date +%Y-%m-%d:%H:%M:%S) -t visualsearchserver .'
Aborting.
/ Put jQuery UI inside its own namespace
JQ = Ember.Namespace.create();
// Create a new mixin for jQuery UI widgets using the Ember
// mixin syntax.
JQ.Widget = Em.Mixin.create({
// When Ember creates the view's DOM element, it will call this
// method.
didInsertElement: function () {
// Make jQuery UI options available as Ember properties