View log.do_compile.2280811
This file contains 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
DEBUG: Executing shell function do_compile | |
[1/154] /home/leigh/projects/poky/build-rpi4/tmp/work/cortexa72-bitsy-linux/libcamera/202210+gitAUTOINC+7219110a12-r0/git/utils/gen-header.sh /home/leigh/projects/poky/build-rpi4/tmp/work/cortexa72-bitsy-linux/libcamera/202210+gitAUTOINC+7219110a12-r0/git/include/libcamera include/libcamera/libcamera.h | |
[2/154] aarch64-bitsy-linux-g++ -mcpu=cortex-a72 -march=armv8-a+crc -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/leigh/projects/poky/build-rpi4/tmp/work/cortexa72-bitsy-linux/libcamera/202210+gitAUTOINC+7219110a12-r0/recipe-sysroot -Isrc/libcamera/base/libcamera-base.so.0.0.1.p -Isrc/libcamera/base -I../git/src/libcamera/base -Iinclude -I../git/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++17 -O0 -Wshadow -include /home/leigh/projects/poky/build-rpi4/tmp/work/cortexa72-bitsy-linux/libcamera/202210+gitAUTOINC+7219110a12-r0/bui |
View google-cloud-automl-metrics-vision.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View automl_evalutation_metrics.py
This file contains 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
### | |
# Load AutoML evaluation metrics via Python API client | |
## | |
from google.cloud import automl | |
from google.protobuf.json_format import MessageToDict | |
import pandas as pd | |
project_id = "your-project-id" | |
model_id = "your-model-id" # look for modelId= in the GCP console url |
View setup.py
This file contains 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
# setup.py | |
import os | |
from setuptools import setup | |
arch = os.uname().machine | |
if arch == 'armv7l': | |
tensorflow = 'tensorflow @ https://github.com/bitsy-ai/tensorflow-arm-bin/releases/download/v2.4.0-rc2/tensorflow-2.4.0rc2-cp37-none-linux_armv7l.whl' | |
elif arch == 'aarch64': |
View schema
This file contains 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
{ | |
"openapi": "3.0.3", | |
"info": { | |
"title": "", | |
"version": "0.0.0" | |
}, | |
"paths": { | |
"/api/auth-token/": { | |
"post": { | |
"operationId": "auth_token_create", |
View normalize-csv.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View raw
This file contains 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
{ | |
"embeddings": [ | |
{ | |
"tensorName": "My tensor", | |
"tensorShape": [ | |
1000, | |
50 | |
], | |
"tensorPath": "https://raw.githubusercontent.com/.../tensors.tsv", | |
"metadataPath": "https://raw.githubusercontent.com/.../optional.metadata.tsv" |
View build
This file contains 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
$ sudo bazel --host_jvm_args=-Xmx512m build \ | |
--config=opt \ | |
--config=noaws \ | |
--config=nohdfs \ | |
--config=nonccl \ | |
--config=v2 \ | |
--local_resources=4096.0,3.0,1.0 \ | |
--copt=-mfpu=neon-vfpv4 \ | |
--copt=-ftree-vectorize \ | |
--copt=-funsafe-math-optimizations \ |
View postprocessed-tflite.sh
This file contains 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
#!/usr/bin/env bash | |
TMP_DIR=${HOME}/tmp | |
TF_MODELS_DIR=${HOME}/projects/models | |
TF_MODELS_PY=${HOME}/projects/models/.venv/bin/python | |
MODEL_NAME=ssd_mobilenet_v3_small_coco_2019_08_14 | |
MODEL_URL=http://download.tensorflow.org/models/object_detection/${MODEL_NAME}.tar.gz | |
MODEL_DIR=${TMP_DIR}/${MODEL_NAME} | |
CONFIG_FILE=${MODEL_DIR}/pipeline.config | |
CHECKPOINT=${MODEL_DIR}/model.ckpt |
View mobilenet_v2_architechture.txt
This file contains 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: "mobilenetv2_1.00_224" | |
__________________________________________________________________________________________________ | |
Layer (type) Output Shape Param # Connected to | |
================================================================================================== | |
input_1 (InputLayer) [(None, 224, 224, 3) 0 | |
__________________________________________________________________________________________________ | |
Conv1_pad (ZeroPadding2D) (None, 225, 225, 3) 0 input_1[0][0] | |
__________________________________________________________________________________________________ | |
Conv1 (Conv2D) (None, 112, 112, 32) 864 Conv1_pad[0][0] | |
__________________________________________________________________________________________________ |
NewerOlder