This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ 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 |