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
ours - XLA, AVX, AVX2, FMA, SSE4.2 enabled | |
Running 1m test @ http://0.0.0.0:5642/detect | |
1 threads and 1 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 446.47ms 13.73ms 507.17ms 70.90% | |
Req/Sec 1.64 0.48 2.00 64.18% | |
134 requests in 1.00m, 73.54KB read | |
intel mkl |
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
bazel build --config=mkl -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.2 -k //tensorflow/tools/pip_package:build_pip_package --explain --verbose_explanations | |
bazel-bin/tensorflow/tools/pip_package/build_pip_package ~/path_to_save_wheel |
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
4 cpus on AI1 | |
# Our inhouse built tensorflow - without XLA | |
1st run: | |
``` | |
Running 1m test @ http://0.0.0.0:5642/detect | |
1 threads and 1 connections | |
Thread Stats Avg Stdev Max +/- Stdev | |
Latency 1.47s 114.37ms 1.91s 77.50% | |
Req/Sec 0.00 0.00 0.00 100.00% |
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
# coding=utf-8 | |
import copy | |
import time | |
import numpy as np | |
import cv2 | |
from lib.yolo.detector import YOLO | |
from lib.yolo.utilities import root_path, BoundBox, bbox_iou, decode_netout, correct_yolo_boxes | |
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
# Adapted from http://www.aishack.in/2010/07/transparent-image-overlays-in-opencv/ | |
from cv2 import * | |
src = cv.LoadImage("image.jpg") # Load a source image | |
overlay = cv.LoadImage("ghost.png") # Load an image to overlay | |
posx = 170 # Define a point (posx, posy) on the source | |
posy = 100 # image where the overlay will be placed | |
S = (0.5, 0.5, 0.5, 0.5) # Define blending coefficients S and D | |
D = (0.5, 0.5, 0.5, 0.5) |
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
2016-08-13T00:05:22 2 Traceback (most recent call last): | |
File "C:/Users/IEUser/.qgis2/python/plugins\qgis_resources_sharing\resource_sharing\repository_handler\remote_git_handler.py", line 125, in download_collection | |
b'refs/heads/master' | |
File "C:/Users/IEUser/.qgis2/python/plugins\qgis_resources_sharing\ext_libs\dulwich\porcelain.py", line 619, in pull | |
determine_wants=determine_wants) | |
File "C:\Users\IEUser\.qgis2\python\plugins\qgis_resources_sharing\ext_libs\dulwich\client.py", line 256, in fetch | |
commit() | |
File "C:\Users\IEUser\.qgis2\python\plugins\qgis_resources_sharing\ext_libs\dulwich\client.py", line 243, in commit | |
target.object_store.add_thin_pack(f.read, None) | |
File "C:\Users\IEUser\.qgis2\python\plugins\qgis_resources_sharing\ext_libs\dulwich\object_store.py", line 606, in add_thin_pack |
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
QgsSymbolV2 | |
- QgsFillSymbolV2 | |
- QgsLineSymbolV2 | |
- QgsMarkerSymbolV2 | |
QgsSymbolV2.symbolLayers() -> [QgsSymbolLayerV2] | |
QgsSymbolLayerV2 | |
- QgsMarkerSymbolLayerV2 | |
-- QgsSVGMakerSymbolLayerV2 |
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
[ 83%] Generating ui_inOutSelector.py | |
Traceback (most recent call last): | |
File "../../../../../scripts/pyuic-wrapper.py", line 1, in <module> | |
import qgis.PyQt.uic.pyuic | |
ImportError: No module named qgis.PyQt.uic.pyuic | |
python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/build.make:117: recipe for target 'python/plugins/GdalTools/tools/ui_inOutSelector.py' failed | |
make[2]: *** [python/plugins/GdalTools/tools/ui_inOutSelector.py] Error 1 | |
CMakeFiles/Makefile2:5499: recipe for target 'python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all' failed | |
make[1]: *** [python/plugins/GdalTools/tools/CMakeFiles/zzz-GdalTools-2-depend.dir/all] Error 2 | |
Makefile:160: recipe for target 'all' failed |
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
mkdir <repo> | |
cd <repo> | |
git init | |
git remote add -f origin <url> | |
git config core.sparseCheckout true | |
echo "some/dir/" >> .git/info/sparse-checkout | |
git pull origin master |
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
The MongoDB instance stores its data files in /var/lib/mongodb and | |
its log files in /var/log/mongodb by default, | |
and runs using the mongodb user account. | |
You can specify alternate log and data file directories in /etc/mongod.conf. | |
See systemLog.path and storage.dbPath for additional information. | |
sudo service mongod start | |
sudo service mongod stop | |
sudo service mongod restart |
NewerOlder