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
OVERVIEW: LLVM 'Clang' Compiler: http://clang.llvm.org | |
USAGE: clang -cc1 [options] <inputs> | |
OPTIONS: | |
-add-plugin <name> Use the named plugin action in addition to the default action | |
-analyze-function <value> | |
Run analysis on specific function | |
-analyzer-checker-help Display the list of analyzer checkers that are available | |
-analyzer-checker <value> |
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 numpy as np | |
import tensorflow as tf | |
from PIL import Image | |
from tensorflow import keras | |
import coremltools | |
import tfcoreml as tf_converter | |
import tensorflow.keras.backend as K | |
import datetime | |
import os | |
from tensorflow.python.framework import graph_io |
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
Avoid ctest truncation of output: CTEST_FULL_OUTPUT | |
======================================================== | |
=== MAIN VARIABLES | |
======================================================== | |
CMAKE_STATIC_LIBRARY_PREFIX == "lib" | |
CMAKE_STATIC_LIBRARY_SUFFIX == ".a" | |
CMAKE_SHARED_LIBRARY_PREFIX == "lib" | |
CMAKE_SHARED_LIBRARY_SUFFIX == ".dylib" | |
CMAKE_SHARED_MODULE_PREFIX == "lib" | |
CMAKE_SHARED_MODULE_SUFFIX == ".so" |
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
{ | |
"model" : { | |
"min_input_size": 288, | |
"max_input_size": 448, | |
"anchors": [55,69, 75,234, 133,240, 136,129, 142,363, 203,290, 228,184, 285,359, 341,260], | |
"labels": ["kangaroo"] | |
}, | |
"train": { | |
"train_image_folder": "/content/kangaroo/images/", |
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 requests | |
import json | |
import cv2 | |
addr = 'http://localhost:5000' | |
test_url = addr + '/api/test' | |
# prepare headers for http request | |
content_type = 'image/jpeg' | |
headers = {'content-type': content_type} |
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
--- | |
- hosts: app | |
remote_user: vagrant | |
sudo: yes | |
vars: | |
download_url: http://download.oracle.com/otn-pub/java/jdk/8u5-b13/jdk-8u5-linux-x64.tar.gz | |
download_folder: /opt | |
java_name: "{{download_folder}}/jdk1.8.0_05" | |
java_archive: "{{download_folder}}/jdk-8u5-linux-x64.tar.gz" |