profile
viewpoint
Johan Euphrosine proppy Google Tokyo

grpc/grpc-web 3844

gRPC for Web Clients

google/aiyprojects-raspbian 1308

API libraries, samples, and system images for AIY Projects (Voice Kit and Vision Kit)

docker-library/golang 924

Docker Official Image packaging for golang

googlesamples/assistant-sdk-python 778

Samples and bindings for the Google Assistant API

FirebaseExtended/firebase-arduino 712

Arduino samples for Firebase.

androidthings/sample-googleassistant 439

Google Assistant API sample for Android Things

GoogleCloudPlatform/iot-device-sdk-embedded-c 169

Cloud IoT Device SDK for Connectivity to IoT Core.

actions-on-google/smart-home-local 86

Local Home SDK sample

googlesamples/mugo 45

Sample on how to transpile a small subset of go to Arduino sketches

googlecodelabs/androidthings-googleassistant 28

Integrate Google Assistant into Android Things

startedbabystand/wkcli

started time in 5 days

startedbabystand/wkcli

started time in 5 days

startedjhuangtw-dev/xg2xg

started time in 11 days

startedaep/zz

started time in 18 days

startedueg1990/faker-schema

started time in 18 days

startedegoist/docute

started time in 19 days

startedegoist/bili

started time in 19 days

startedkevlened/isomorphic-webcrypto

started time in 23 days

issue commentgooglesamples/assistant-sdk-python

debug_config availability in google-assistant-grpc python library

@dmarvp which version of the API are you using?

dmarvp

comment created time in 23 days

startedds300/patch-package

started time in 24 days

fork proppy/webcrypto

A WebCrypto Polyfill for NodeJS

fork in 24 days

startedionic-team/rollup-plugin-node-polyfills

started time in 24 days

issue commentcuelang/cue

encoding/openapi: additionalProperties should be false for closed struct

What is you particular use case for this feature?

Was trying to use CUE to author JSON schemas for IoT devices characteristics.

So this should only be added if there is a concrete need for it and with the proper note of caution.

Maybe the right distinction to draw here is OpenAPI vs JSON schema export? While the interpretation of OpenAPI closedness is different from that of CUE, maybe the interpretation JSON schema closedness could be different from OpenAPI (and closer to CUE), since the scope of JSON schema can go beyond API payload definition?

proppy

comment created time in a month

PR opened wolverdude/GenSON

add support for draft-6 examples

Fixes #42

+103 -18

0 comment

8 changed files

pr created time in a month

push eventproppy/GenSON

Johan Euphrosine

commit sha 75287c3f2a3e58effd013d3a667484b21fe8a9e5

add support for draft-6 examples Fixes #42

view details

push time in a month

fork proppy/GenSON

GenSON is a powerful, user-friendly JSON Schema generator built in Python.

fork in a month

issue openedwolverdude/GenSON

support for draft-6 examples metadata

https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.4 added support for examples metadata.

It would be nice if GenSON provided a way to include the leaf scalar values passed to add_object as examples of the corresponding properties.

created time in a month

startedadobe/ride

started time in a month

startedmassung/r-cade

started time in a month

issue commentcuelang/cue

encoding/openapi: additionalProperties should be false for closed struct

Thanks for the thorough explanation.

There are basically two modes of usage.

Do you think it needs to get more granular than that? i.e: when "exporting" a cue schema into something else, one could decide to "relax" or "restrain" it's openness on a per struct basic (a) ?

Anyway, running this by some of the users of this to find out their interpretation.

What would be a good forum for this?

but the question is whether this should be an option of some form

If (a) makes sense, maybe allowing users to selectively "apply" another .cue schema on top of all the definitions of another would be enough? Maybe using a field comprehension?

Few experiments below:

opening all closed structs

a: close({
  a: int
})

b: close({
  b: string
})

OpenMe:: {
  "a": a
  "b": b
}

for k,v in OpenMe {
 "\(k)": v & {...}
}

c: OpenMe.a
c: c: 1

Closing all structs

a: {
  a: int
}

b: {
  b: string
}

CloseMe:: {
  "a": a
  "b": b
}

for k,v in CloseMe {
 "\(k)": close(v)
}

c: CloseMe.a
c: c: 1

And a few follow-up questions

  • Curious if there is a way to a field comprehension over the global scope? Without listing them in another definition (like OpenMe and CloseMe above)
  • While the above work on regular struct, closing doesn't seem to work on struct definitions: The following doesn't seem to close a:
a:: {...}
a:: close(a)
b: a
b: c: 1

While the following seems to effectively open a:

a:: {}
a:: a & {...}
b: a
b: c: 1
proppy

comment created time in a month

issue openedcuelang/cue

encoding/openapi: additionalProperties should be false for closed struct

Per https://json-schema.org/understanding-json-schema/reference/object.html#properties and https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md additionalProperties defaults to true.

Currently encoding/openapi doesn't set any additionalProperties for closed struct (and definitions), causing the resulting JSON schema to be more relaxed than the cue contract.

Example

Given:

DummyDef :: {
	something: string
}

encoding/openapi generates

{
  "type": "object",
  "required": [
    "something"
  ],
  "properties": {
    "something": {
      "type": "string",
      "format": "string"
    }
  }
}

which validates:

{
    "something": "foo",
    "morethings": "bar"
}

whereas cue does fails validation:

field "morethings" not allowed in closed struct:
    ./dummydef.json:3:19

created time in a month

PR opened cuelang/cuelang.org

docs/integrations/openapi: fix code snippet

Without this compiling the snippet fails with:

./gen.go:11:37: syntax error: mixed named and unnamed function parameters
+1 -1

0 comment

1 changed file

pr created time in a month

push eventproppy/cuelang.org

Johan Euphrosine

commit sha 2d25040ee6f1e601bad1291dc62b4eae10ac4362

docs/integrations/openapi: fix code snippet

view details

push time in a month

push eventproppy/cuelang.org

Johan Euphrosine

commit sha dc14313b67af290af96daa9c4c8e0b4d3c05ccb2

docs/integrations/openapi: fix code snippet

view details

push time in a month

PR opened cuelang/cuelang.org

docs/integrations/openapi: fix broken link
+1 -1

0 comment

1 changed file

pr created time in a month

push eventproppy/cuelang.org

Johan Euphrosine

commit sha 027507bdc4c41884e95e64697f75ab73781f8c5e

docs/integrations/openapi: fix broken link

view details

push time in a month

fork proppy/cuelang.org

Source for the cuelang.org site

fork in a month

startedgoogleapis/gnostic

started time in a month

startedairtasker/spot

started time in a month

startedwasm3/wasm3

started time in a month

issue commentactions-on-google/actions-on-google-java

Smarthome integration should expose DisconnectResponse

Yes but https://developers.google.com/assistant/smarthome/develop/process-intents seems to indicate that most response could return errorCode

proppy

comment created time in a month

issue openedactions-on-google/actions-on-google-java

Smarthome integration should expose DisconnectResponse

Currently it seems that smarthome integration always returns an empty response for DisconnectRequest.

https://github.com/actions-on-google/actions-on-google-java/blob/master/src/main/kotlin/com/google/actions/api/smarthome/SmartHomeApp.kt#L166

This could be problematic as developer might need to return an errorCode when the DisconnectRequest is failing.

created time in a month

issue openedactions-on-google/actions-on-google-java

SyncResponse.Payload is missing errorCode

According to https://developers.google.com/assistant/smarthome/develop/process-intents#response_format SyncResponse.Payload can contains an errorCode property.

created time in a month

startedavoidwork/tiny-worker

started time in a month

startedlaverdet/isolated-vm

started time in a month

startedgregsdennis/Manatee.Json

started time in a month

startedpalantir/gradle-baseline

started time in 2 months

startedsynesthesiam/voice2json

started time in 2 months

startedkkroening/ffmpeg-python

started time in 2 months

started00imvj00/mqttrs

started time in 2 months

startedwolfSSL/wolfMQTT

started time in 2 months

startedLiamBindle/MQTT-C

started time in 2 months

push eventandroidthings/weatherstation

Łukasz Byjoś

commit sha c7d6d9494d3a08716e6ec5b0f0e9421102f145d0

Update README.md Fix typo "Cloug"

view details

Johan Euphrosine

commit sha 26ebd40e0ea9546a10223d0138f92e1cb4d7c618

Merge pull request #9 from Mistic92/patch-1 Update README.md

view details

push time in 2 months

PR merged androidthings/weatherstation

Update README.md

Fix typo "Cloug"

+1 -1

1 comment

1 changed file

Mistic92

pr closed time in 2 months

pull request commentandroidthings/weatherstation

Update README.md

Thanks!

Mistic92

comment created time in 2 months

issue openedactions-on-google/actions-on-google-java

consider dropping JSONObject from the smarthome API surface

Currently the libraries exposes JSONObject as part of the public smarthome API object: https://github.com/actions-on-google/actions-on-google-java/blob/7f3b1e2fd51e3b044380ea3c72722058ad99240f/src/main/kotlin/com/google/actions/api/smarthome/SmartHomeResponse.kt

This force reverse dependencies to both depens on org.json (as a direct dependency) and gson (transitively).

It would be nice if the library instead only surfaced standard Map<String, Object> types in the public API.

/cc @taycaldwell @Fleker

created time in 2 months

issue openedactions-on-google/actions-on-google-java

vendored googleapis proto cause duplicate-dependency-class issues

Running https://github.com/nebula-plugins/gradle-lint-plugin on a project that depens on actions-on-google:1.8.0 will trigger the following warning.

com.google.actions:actions-on-google:1.8.0 in configuration ':implementation' has 18 classes duplicated by com.google.api.grpc:proto-google-common-protos:1.17.0. Duplicate classes: [com/google/api/CustomHttpPatternOrBuilder, com/google/api/AnnotationsProto$1, com/google/api/CustomHttpPattern$1, com/google/api/AnnotationsProto, com/google/api/CustomHttpPattern, com/google/api/Http$Builder, com/google/api/HttpOrBuilder, com/google/api/CustomHttpPattern$Builder, com/google/api/HttpRule, com/google/api/HttpRuleOrBuilder, com/google/api/HttpRule$PatternCase, com/google/api/HttpProto, com/google/api/HttpRule$Builder, com/google/api/HttpRule$2, com/google/api/HttpRule$1, com/google/api/Http, com/google/api/Http$1, com/google/api/HttpProto$1]

This project contains lint violations. A complete listing of the violations follows. 
Because none were serious, the build's overall status was unaffected.

warning   duplicate-dependency-class         com.google.actions:actions-on-google:1.8.0 in configuration ':implementation' has 18 classes duplicated by com.google.api.grpc:proto-google-common-protos:1.17.0 (use --info for detailed class list) (no auto-fix available)

I believe this is due to the project vendoring the generated class from the following proto: https://github.com/actions-on-google/actions-on-google-java/tree/master/src/main/proto/google/api

While those are also available as part of the com.google.api.grpc:proto-google-common-protos:1.17.0, which actions-on-google:1.8.0 depends transitively thru io.grpc:grpc-protobuf in https://github.com/actions-on-google/actions-on-google-java/blob/master/build-smarthome.gradle#L51.

see: https://mvnrepository.com/artifact/io.grpc/grpc-protobuf/1.21.0

/cc @taycaldwell @Fleker

created time in 2 months

issue commentnebula-plugins/gradle-lint-plugin

Deprecated 'compile' for 'implementation' or 'api'

It seems that v15.0.1 regressed on this, undeclared-dependency and unused-dependency warnings that went away in v15.0.0 when using implementation started appearing again w/ v15.0.1+

phreed

comment created time in 2 months

issue commentgooglesamples/assistant-sdk-python

add google-assistant-library deprecation notice

The following patch seems to fix the segfault:

--- env/lib/python3.7/site-packages/google/assistant/library/assistant.py~      2019-12-18 08:07:00.039021501 +0000
+++ env/lib/python3.7/site-packages/google/assistant/library/assistant.py       2019-12-18 08:31:35.365685657 +0000
@@ -100,8 +100,7 @@
         self._inst = c_void_p(
             self._lib.assistant_new(
                 self._event_callback,
-                None,
-                device_model_id.encode('ASCII')))
+                device_model_id.encode('ASCII'), None))

         self._credentials_refresher = CredentialsRefresher(
             credentials, self._set_credentials)
@@ -278,7 +277,7 @@

         # void* assistant_new(EventCallback listener, const char*
         # device_model_id);
-        self._lib.assistant_new.argtypes = [EVENT_CALLBACK, c_char_p]
+        self._lib.assistant_new.argtypes = [EVENT_CALLBACK, c_char_p, c_char_p]
         self._lib.assistant_new.restype = c_void_p

         # void assistant_free(void* instance);
proppy

comment created time in 2 months

issue commentgooglesamples/assistant-sdk-python

add google-assistant-library deprecation notice

(Finally) verified that the deprecation notice is visible when installing the new wheel (1.1.0) on Raspberry Pi Zero w/ the latest 2019-09-26-raspbian-buster-lite.img

But get the following stacktrace when starting the demo

#0  strlen () at ../sysdeps/arm/armv6/strlen.S:26
#1  0xb530ed04 in ?? () from /home/pi/env/lib/python3.7/site-packages/google/assistant/library/libassistant_embedder.so
#2  0xb530a3b4 in assistant_new () from /home/pi/env/lib/python3.7/site-packages/google/assistant/library/libassistant_embedder.so
#3  0xb6645cc0 in ffi_call_VFP () from /usr/lib/arm-linux-gnueabihf/libffi.so.6
#4  0xb66466cc in ffi_call () from /usr/lib/arm-linux-gnueabihf/libffi.so.6
#5  0xb666da38 in _ctypes_callproc () from /usr/lib/python3.7/lib-dynload/_ctypes.cpython-37m-arm-linux-gnueabihf.so
#6  0xb666e4ec in ?? () from /usr/lib/python3.7/lib-dynload/_ctypes.cpython-37m-arm-linux-gnueabihf.so
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

This seems equivalent to what was reported for 1.0.1 in https://github.com/googlesamples/assistant-sdk-python/issues/355

proppy

comment created time in 2 months

startedjeremycw/httpserver.h

started time in 2 months

push eventproppy/tensorflow

Michal W. Tarnowski

commit sha 084000813642779063a1701b621e86823da5121b

Non-broadcast Div optimized

view details

Michal W. Tarnowski

commit sha 43a06104a6f3ad4e93099b7f1750948056dd47a7

Explicit NEON typenames removed

view details

Clayne Robison

commit sha 302358459136384bb23c075b633f4c0e3159df49

Add Dockerfile partials to support Mkl + MPI + Horovod; Remove trailing whitespace from python.partial.Dockerfile

view details

Clayne Robison

commit sha 953a5deffab5b9b4fd652cf561d479d2066eb18e

Adding the generated horovod Dockerfiles

view details

Clayne Robison

commit sha cd4ae94127ab68e00c6f615b0fabbc3c268fc3f5

Moving files to mkl_horovod folders to reflect usage

view details

amoitra

commit sha e07dfe6a7091db80bef5c94d10eaf6360d7224de

Set xla_gpu_use_cudnn_batchnorm to true

view details

Michal W. Tarnowski

commit sha 3aacf55547142de592e02113acb6a7c15538adcb

Merge branch 'master' into float-div-neon

view details

Michal W. Tarnowski

commit sha ecb58fc3ee4ca637fed579d3d125a31852df66b5

Merge branch 'master' into float-div-neon

view details

Deven Desai

commit sha 1a489f5c03edc60e26b10fd8a3d13ef03711f50f

[ROCm] Fix for the broken ROCm CSB. The following commit breaks the --config=rocm build https://github.com/tensorflow/tensorflow/commit/bf9c196f37b9cbb3109b2891aaf9da85bf5f712a The above commit adds support for complex type in the optimizers. Complex types are not supported on the ROCm platform. Support for it needs to be excluded on the ROCm platform, and that is what this "fix" does.

view details

namrata-ibm

commit sha a816b97a61ad152b64f7550351379ccae860d841

Updating metrics_export_meta_graph.pb for fixing //tensorflow/python:framework_meta_graph_test on big endian

view details

amoitra

commit sha b64e97b4448b86bafc8dc72d6a5db64e15dfe30e

Always expand batchnorm inference

view details

amoitra

commit sha 400bba1be9dfb1518b7a0748041d279532b7f7c0

Add comments

view details

Kazuaki Ishizaki

commit sha 340d3337d86c08911c6abce34ec0e449411d223e

minor spelling tweaks

view details

Pooya Davoodi

commit sha d1f49f699f0691f349b10e4e75ade0a36b712af0

Move TensorRT builder configs to converter build function

view details

Pooya Davoodi

commit sha 9d5cbf4e94e08f0e598a36fbc162417d7b031b66

Move builder to Converter class

view details

Pooya Davoodi

commit sha d6dbc7237fb0a0665911d7efa82fa60231a7bcb2

Fix function signatures

view details

Mohamed Nour Abouelseoud

commit sha 51cec9092e73f22cabaca3c7e0ba7154b1a4b27d

[Lite] Support Int8 Unpack Operator Added support for Unpack Operator Added relevant tests.

view details

Duncan Riach

commit sha 7fd47f10140a3965284f700f4a7cfea62a45019f

Improve resize_bilinear CPU back-prop kernel comment

view details

Duncan Riach

commit sha b0c6ea8fdeb0cc2ffa892362c6ee6b41556c185b

Fix small typo

view details

Lukas Geiger

commit sha 860666581f52b75ccb4ec283f99546b86d955925

Fix TensorFlow pip API generation

view details

push time in 2 months

pull request commenttensorflow/tensorflow

lite/third_party/kiss_fft: fix include patches

PTAL, rebased

proppy

comment created time in 2 months

pull request commentgoogleapis/nodejs-googleapis-common

feat: allow GoogleAuth in GlobalOptions

Where I'm a little confused though, is I don't believe GoogleAuth does

Yes, and that's what I was trying to fix with https://github.com/googleapis/google-auth-library-nodejs/pull/803 and this very CL :)

proppy

comment created time in 2 months

pull request commentgoogleapis/nodejs-googleapis-common

feat: allow GoogleAuth in GlobalOptions

@bcoe we have a workaround for it, so it's not urgent. But I still think this would be a good idea to allow this.

proppy

comment created time in 2 months

startedloadzero/si78c

started time in 3 months

startedlbovet/typson

started time in 3 months

startedlbovet/docson

started time in 3 months

startedepoberezkin/ajv

started time in 3 months

startedjessedc/ajv-cli

started time in 3 months

startedYousefED/typescript-json-schema

started time in 3 months

issue closedtensorflow/tensorflow

TFLite micro hello_world sketch fails to build

System information

  • OS Platform and Distribution: 4.19.67-2rodete2-amd64
  • Target platform: Arduino 1.8.10 w/ nano33ble target
  • TensorFlow version: 1.15.0-ALPHA

Describe the problem

hello_world sketches fails to build due to a missing header file (not included in the Arduino libraries distribution).

Provide the exact sequence of commands / steps that you executed before running into the problem

  • Install Arduino_TensorFlowLite@1.15.0-ALPHA
  • Open hello_world example sketch
  • Click the Verify ✓ button.

Any other info / logs

/usr/local/google/home/proppy/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g -Os -nostdlib @/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/variants/ARDUINO_NANO33BLE/defines.txt @/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/variants/ARDUINO_NANO33BLE/cxxflags.txt -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -w -x c++ -E -CC -DARDUINO=10810 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED -I/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/cores/arduino -I/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/variants/ARDUINO_NANO33BLE -I/usr/local/google/home/proppy/Arduino/libraries/Arduino_TensorFlowLite/src -I/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/cores/arduino/api/deprecated -iprefix/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/cores/arduino @/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/variants/ARDUINO_NANO33BLE/includes.txt /tmp/arduino_build_987011/sketch/hello_world.ino.cpp -o /dev/null
Alternatives for tensorflow/lite/c/common.h: []
ResolveLibrary(tensorflow/lite/c/common.h)
  -> candidates: []
Multiple libraries were found for "TensorFlowLite.h"
In file included from /tmp/arduino_modified_sketch_134477/hello_world.ino:21:0:
 Used: /usr/local/google/home/proppy/Arduino/libraries/Arduino_TensorFlowLite
output_handler.h:19:10: error: tensorflow/lite/c/common.h: No such file or directory
 Not used: /usr/local/google/home/proppy/Arduino/libraries/tensorflow_lite
 #include "tensorflow/lite/c/common.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

/cc @dansitu @khanhlvg

closed time in 3 months

proppy

issue commenttensorflow/tensorflow

TFLite micro hello_world sketch fails to build

@advaitjain Spot on!

I thought this was happening against a new installation of Arduino 1.8.10 against the latest published version of the library 1.15.0-ALPHA. But after testing against a fresh install of the library after cleaning up ~/Arduino/libraries, the hello_world example compile successfully.

I think this was due to example being picked up from a stale installation in tensorflow_lite (as shown in the compile log) while include files where being looked up in another directory Arduino_TensorFlowLite.

Sorry for the noise!

proppy

comment created time in 3 months

issue commenttensorflow/tensorflow

TFLite micro hello_world sketch fails to build

Simply removing the following include workaround the issue.

#include "tensorflow/lite/c/common.h"
proppy

comment created time in 3 months

issue openedtensorflow/tensorflow

TFLite micro hello_world sketch fails to build

System information

  • OS Platform and Distribution: 4.19.67-2rodete2-amd64
  • Target platform: Arduino 1.8.10 w/ nano33ble target
  • TensorFlow version: 1.15.0-ALPHA

Describe the problem

hello_world sketches fails to build due to a missing header file (not included in the Arduino libraries distribution).

Provide the exact sequence of commands / steps that you executed before running into the problem

  • Install Arduino_TensorFlowLite@1.15.0-ALPHA
  • Open hello_world example sketch
  • Click the Verify ✓ button.

Any other info / logs

/usr/local/google/home/proppy/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/7-2017q4/bin/arm-none-eabi-g++ -c -w -g -Os -nostdlib @/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/variants/ARDUINO_NANO33BLE/defines.txt @/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/variants/ARDUINO_NANO33BLE/cxxflags.txt -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 -w -x c++ -E -CC -DARDUINO=10810 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED -I/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/cores/arduino -I/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/variants/ARDUINO_NANO33BLE -I/usr/local/google/home/proppy/Arduino/libraries/Arduino_TensorFlowLite/src -I/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/cores/arduino/api/deprecated -iprefix/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/cores/arduino @/usr/local/google/home/proppy/.arduino15/packages/arduino/hardware/mbed/1.1.3/variants/ARDUINO_NANO33BLE/includes.txt /tmp/arduino_build_987011/sketch/hello_world.ino.cpp -o /dev/null
Alternatives for tensorflow/lite/c/common.h: []
ResolveLibrary(tensorflow/lite/c/common.h)
  -> candidates: []
Multiple libraries were found for "TensorFlowLite.h"
In file included from /tmp/arduino_modified_sketch_134477/hello_world.ino:21:0:
 Used: /usr/local/google/home/proppy/Arduino/libraries/Arduino_TensorFlowLite
output_handler.h:19:10: error: tensorflow/lite/c/common.h: No such file or directory
 Not used: /usr/local/google/home/proppy/Arduino/libraries/tensorflow_lite
 #include "tensorflow/lite/c/common.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

created time in 3 months

push eventproppy/tensorflow

Johan Euphrosine

commit sha f92687c776d734e3da267f08dde133066f10e2c4

lite/third_party/kiss_fft: fix sed arguments

view details

push time in 3 months

Pull request review commenttensorflow/tensorflow

lite/third_party/kiss_fft: fix include patches

 patch_kissfft() {   sed -i -E $'s@#ifdef FIXED_POINT@// Patched automatically by download_dependencies.sh so default is 16 bit.\\\n#ifndef FIXED_POINT\\\n#define FIXED_POINT (16)\\\n#endif\\\n// End patch.\\\n\\\n#ifdef FIXED_POINT@g' tensorflow/lite/experimental/micro/tools/make/downloads/kissfft/kiss_fft.h   sed -i -E "s@#define KISS_FFT_MALLOC malloc@#define KISS_FFT_MALLOC(X) (void*)(0) /* Patched. */@g" tensorflow/lite/experimental/micro/tools/make/downloads/kissfft/kiss_fft.h   sed -i -E "s@#define KISS_FFT_FREE free@#define KISS_FFT_FREE(X) /* Patched. */@g" tensorflow/lite/experimental/micro/tools/make/downloads/kissfft/kiss_fft.h+  sed -i E  "s@#include <string.h>@#include <string.h>\n#include <stdint.h> /* Patched. */@" tensorflow/lite/experimental/micro/tools/make/downloads/kissfft/kiss_fft.h

missing -

proppy

comment created time in 3 months

PR opened tensorflow/tensorflow

Reviewers
lite/third_party/kiss_fft: fix include patches
  • remove commented out string.h include
  • add missing stdint.h include

This fixes compilation with the esp32 core arduino toolchain.

+1 -7

0 comment

2 changed files

pr created time in 3 months

create barnchproppy/tensorflow

branch : fix-types

created branch time in 3 months

create barnchproppy/tensorflow

branch : fix-kissfft-patches

created branch time in 3 months

PR opened tensorflow/tensorflow

lite/microfrontend: fix FilterbankState unsigned type missmatch

FilterbankState work is uint64_t*, casting a signed type prevent the libraries to compile w/ the esp32 arduino core toolchain.

+1 -1

0 comment

1 changed file

pr created time in 3 months

startedroman01la/clj-wasm

started time in 3 months

push eventproppy/TfLiteMicroArduino

Johan Euphrosine

commit sha 1518bb030983a4a54d2561630c349f65b7745598

examples: add gesture

view details

Johan Euphrosine

commit sha 21e7e9e00c71e0ea510a940f7ae0ce151e00cb91

examples: return on failure

view details

push time in 3 months

push eventproppy/TfLiteMicroArduino

Johan Euphrosine

commit sha 8d46ee8b59fd0d1d191566143f7444eb5f68a7d9

library: update name

view details

Johan Euphrosine

commit sha 51dcdd42c6829ac31341137825690bc668a3eb6a

examples: add ESP32 LEDC example

view details

push time in 3 months

push eventproppy/TfLiteMicroArduino

Johan Euphrosine

commit sha a783381290578af8a15050e2b5d6dab4063e3ab9

TfLiteMicroArduino: update to Arduino_TensorFlowLite 1.15.0-ALPHA - remove SimpleTensorAllocator - update README to ref Adafruit library

view details

push time in 3 months

push eventproppy/TfLiteMicroArduino

Johan Euphrosine

commit sha 6a8ba44be28f790a9e33d0f0dc1ee8bafb6bb5c4

TfLiteMicroArduino: update to Arduino_TensorFlowLite 1.15.0-ALPHA - remove SimpleTensorAllocator - update README to ref Adafruit library

view details

push time in 3 months

push eventproppy/TfLiteMicroArduino

Johan Euphrosine

commit sha 5e5d78bd1598972f1dc988f8c744ecf99fbdc71e

TfLiteMicroArduino: update to Arduino_TensorFlowLite 1.15.0-ALPHA - remove SimpleTensorAllocator - update README to ref Adafruit library

view details

push time in 3 months

push eventproppy/TfLiteMicroArduino

Johan Euphrosine

commit sha 3e394682a4a8c3e62b07f33340eca1704a578024

tensorflow: import Arduino_TensorFlowLite 1.15.0-ALPHA

view details

Johan Euphrosine

commit sha 791e41648800f17edd98e178f1843d740335c28c

third_party/kiss_fft: add missing includes

view details

Johan Euphrosine

commit sha 64ea2bfb7c5e70c6b1c38ddb131faf17be6aede3

tensorflow/microfrontend/filterbank: fix type missmatch

view details

Johan Euphrosine

commit sha 7e0c23cd26145e96f6510e503671839e5408b0ea

TfLiteMicroArduino: update to Arduino_TensorFlowLite 1.15.0-ALPHA - remove SimpleTensorAllocator

view details

push time in 3 months

startedcoveooss/json-schema-for-humans

started time in 3 months

startedlnoor/sphinx-jsonschema

started time in 3 months

startedtaskcluster/react-schema-viewer

started time in 3 months

startedhapijs/joi

started time in 3 months

startedmrin9/RapiDoc

started time in 3 months

startedstorybookjs/storybook

started time in 3 months

startedstoplightio/json-schema-viewer

started time in 3 months

startedOAI/OpenAPI-Specification

started time in 3 months

startedapiaryio/mson

started time in 3 months

fork proppy/Adafruit_TFLite

TensorFlow light helper class for Adafruit & Arcada boards

fork in 3 months

issue commentSymbiFlow/ideas

Create a JSON schema for the Yosys JSON format.

Do you have examples of Yosys JSON output? If the set is large enough something like https://github.com/ncarlier/genjson could be used to generated a merged schema.

mithro

comment created time in 3 months

push eventproppy/awesome-wasm-runtimes

Johan Euphrosine

commit sha 6575d52ab968164ac36658294e1350c5ac56e0f7

README: fix warpy description

view details

push time in 3 months

startedkogai/wasvm

started time in 3 months

startedandoma/vmir

started time in 3 months

startedsunfishcode/wasm-reference-manual

started time in 3 months

startedperlin-network/life

started time in 3 months

startedtimocov/dts-bundle-generator

started time in 3 months

issue commentgooglesamples/assistant-sdk-python

provide event driven interface on top of google-assistant-grpc

I'm thinking of use case where you initialize the assistant "in the background"

I wonder if this could composed wel with the synchronous style proposed in https://github.com/googlesamples/assistant-sdk-python/issues/358#issuecomment-552608649, where the caller would be responsible for triggering the assistant and handle the response as the return value.

Maybe by combining it decorator approach proposed in https://github.com/googlesamples/assistant-sdk-python/issues/358#issuecomment-512249889?

from google import assistant

@assistant.on_end_of_utterance()
def end_of_query():
    print("end of query")

@assistant.on_speech_recognition_result()
def in_progress_query(result)
    print("in progress query:", result)

assistant.assist('What's the weather in Tokyo?')
proppy

comment created time in 3 months

starteduNetworking/uSockets

started time in 3 months

issue commentgooglesamples/assistant-sdk-python

provide event driven interface on top of google-assistant-grpc

I like the idea of using sounddevice to handle the audio, it also decouples audio management from the SDK.

Yep, we currently use sounddevice in audio_helpers but the idea here would be to simply accept and returns numpy array and handle the sounddevice plumbing in the calling code.

If we only use one method for all the interactions however I'm not sure of what the return type should be - maybe an AssistantResult object that contains query_text, response_text and error?

Python itself should be fine w/ a single method that returns different type, and the convention should be easy to understand: if you give a T it returns a T.

input output
string string
file-like object file-like object)
numpy array of audio samples numpy array of audio samples
AssistRequest iterable AssistResponse iterable

It'd also still maintain the ability to optionally subscribe to assistant events, as in some applications it's neater to have some kind of event-based interface:

Would the ability of passing raw AssistRequest/Response be enough or do you need the ability to handle event at the same time of passing one of the other type?

proppy

comment created time in 3 months

more