Tested with Cloudera 5.12.0 Quickstart VM (https://www.cloudera.com/downloads/quickstart_vms/5-12.html)
| Library | Version |
|---|---|
| JanusGraph | 0.3.0-SNAPSHOT |
| TinkerPop | 3.3.0 |
| Spark | 2.2.0 |
| HBase | 1.2.0 |
| Cassandra | 2.2.11 |
| Java | 1.8.0_151 |
| #!/bin/bash | |
| USER=$1 | |
| TAG=$2 | |
| TF_SERVING_VERSION_GIT_BRANCH="r1.13" | |
| git clone --branch="${TF_SERVING_VERSION_GIT_BRANCH}" https://github.com/tensorflow/serving | |
| TF_SERVING_BUILD_OPTIONS="--copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-msse4.1 --copt=-msse4.2" | |
| cd serving && \ | |
| docker build --pull -t $USER/tensorflow-serving-devel:$TAG \ |
| #!/usr/bin/env python | |
| from __future__ import print_function | |
| import argparse | |
| import numpy as np | |
| import time | |
| tt = time.time() | |
| import cv2 | |
| from grpc.beta import implementations |
Tested with Cloudera 5.12.0 Quickstart VM (https://www.cloudera.com/downloads/quickstart_vms/5-12.html)
| Library | Version |
|---|---|
| JanusGraph | 0.3.0-SNAPSHOT |
| TinkerPop | 3.3.0 |
| Spark | 2.2.0 |
| HBase | 1.2.0 |
| Cassandra | 2.2.11 |
| Java | 1.8.0_151 |
Tested with Cloudera 5.12.0 Quickstart VM (https://www.cloudera.com/downloads/quickstart_vms/5-12.html)
| Library | Version |
|---|---|
| JanusGraph | 0.3.0-SNAPSHOT |
| TinkerPop | 3.3.0 |
| Spark | 2.2.0 |
| HBase | 1.2.0 |
| Cassandra | 2.2.11 |
| Java | 1.8.0_151 |
| '''This scripts implements Kim's paper "Convolutional Neural Networks for Sentence Classification" | |
| with a very small embedding size (20) than the commonly used values (100 - 300) as it gives better | |
| result with much less parameters. | |
| Run on GPU: THEANO_FLAGS=mode=FAST_RUN,device=gpu,floatX=float32 python imdb_cnn.py | |
| Get to 0.853 test accuracy after 5 epochs. 13s/epoch on Nvidia GTX980 GPU. | |
| ''' | |
| from __future__ import print_function |