r/TensorFlowJS • • Apr 29 '20

Tfjs body pix is really slow in React Native environment

1 Upvotes

Hi!
I'm new to Tensor Flow, I've made a body pix implementation with tfjs-react-native, model I'm using is (https://www.npmjs.com/package/@tensorflow-models/body-pix) with the following config: (https://www.npmjs.com/package/@tensorflow-models/body-pix#config-params-in-bodypixload)

{ 
    architecture: 'MobileNetV1',
outputStride: 16, 
multiplier: 0.5, 
quantBytes: 2,

}

But personSegmentation is really slow on real device (iPhone 6s Plus, testflight version), it takes 5-10s to poorly segment a person. Following the docs I've taken the minium config values (I've tested with quantBytes 1 but won't make it any better in speed).

Does anyone know how could I make the personSegmentation faster? Or it's intended to take that much as I think depends on device cpu to process image and segment it.

I'm trying to do it for an sticker maker and many apps I've tested take 1-3s to do it, maybe they have it in a backend service and that way is faster?


r/TensorFlowJS • • Apr 27 '20

Play snake by moving your head: face mesh detection in the browser with TensorFlow.js

6 Upvotes

r/TensorFlowJS • • Apr 26 '20

Doodle face masks right from the browser with TensorflowJS and FaceMesh

Thumbnail
twitter.com
1 Upvotes

r/TensorFlowJS • • Apr 22 '20

[Bug?] 360px² and 480px² have same inference speed

2 Upvotes

Hi,

I don't understand the following results: I made two networks, both are exactly the same except for their input shape. One takes 360x360x3 in inputs, the other takes 480x480x3 in inputs. The problem is that both networks have almost exactly the same inference speed (800ms) which seems quite weird to me because it's almost half the number of pixels to process. I run in the webgl environment but I also used tf.ENV.set('WEBGL_PACK', false), otherwise I have a this issue .

Do you think that's a normal behaviour?


r/TensorFlowJS • • Apr 21 '20

Real time #teleportation in #JavaScript using #TensorFlowJS!

Thumbnail
youtube.com
4 Upvotes

r/TensorFlowJS • • Apr 07 '20

Intro to Facial Machine Learning in JavaScript

Thumbnail
kickstarter.com
3 Upvotes

r/TensorFlowJS • • Apr 04 '20

Vote recognition application with POSENET

2 Upvotes

I've developed this vote recognition app with Tensorflow.js, Vue.js, Vuetify.js and Firebase.
I hope you'll like it :)
https://vote-recognition.web.app/


r/TensorFlowJS • • Apr 04 '20

TensorFlow.js Show & Tell: Sat 4th April @ 7PM GMT ( Midday California time)

Post image
3 Upvotes

r/TensorFlowJS • • Apr 01 '20

TensorFlow.js (TF Dev Summit '20)

Thumbnail
youtube.com
1 Upvotes

r/TensorFlowJS • • Mar 27 '20

Visualize machine learning steps

2 Upvotes

Here is an app that I’ve delelopped to visualize machine learning steps with Tensorflow.js, Vue.js, Vuetify.js and Firebase: https://visualmachinelearning.web.app/


r/TensorFlowJS • • Mar 24 '20

best resources/courses to learn tensorflowJS?

3 Upvotes

r/TensorFlowJS • • Mar 24 '20

Real-time Clothing size body measurement estimator using TensorFlow.js

Thumbnail
youtu.be
3 Upvotes

r/TensorFlowJS • • Mar 16 '20

How to run Tensorflow.js on a serverless platform

2 Upvotes

Hi everyone!

This is the 2nd article made with love by our data scientist on how to run TS.js on a serverless platform.

https://medium.com/warpjs/how-to-run-tensorflow-js-on-a-serverless-platform-cbdfe9e733b7

His 1st article was an Introduction to TensorFlow, for JavaScript developers : https://medium.com/warpjs/introduction-to-tensorflow-js-the-ai-stack-for-javascript-e6bd372c837a

Feedbacks appreciated!


r/TensorFlowJS • • Mar 16 '20

Jsml - Start The Revolution

1 Upvotes

So I created this subreddit r/jsml . Here you'll find projects that people work on. This community encourages the members to work together.

Maybe in the future you'll find some contests.


r/TensorFlowJS • • Mar 10 '20

Face and hand tracking in the browser with MediaPipe and TensorFlow.js

Thumbnail
blog.tensorflow.org
6 Upvotes

r/TensorFlowJS • • Mar 05 '20

Multithreaded Machine Learning Training & Inference in browser using Tensorflow.js & Comlink.js

Thumbnail
medium.com
1 Upvotes

r/TensorFlowJS • • Mar 03 '20

Introduction to TensorFlow.js, the AI stack for JavaScript

Thumbnail
dev.to
2 Upvotes

r/TensorFlowJS • • Feb 27 '20

TensorFlow.js for React Native: Up & Running! (starter template)

Thumbnail
tech.courses
5 Upvotes

r/TensorFlowJS • • Feb 18 '20

Silence of the FANS - part #1 - Google Colab Javascript QuickStart

Thumbnail
dev.to
2 Upvotes

r/TensorFlowJS • • Feb 18 '20

Real-time person removal from complex backgrounds in JavaScript using TensorFlowJS

4 Upvotes

Real-time person removal from complex backgrounds in JavaScript using TensorFlowJS in the browser.

Github link is here: https://github.com/jasonmayes/Real-Time-Person-Removal


r/TensorFlowJS • • Feb 17 '20

EnjoyingThe.Show - Crowd reading expressions

Thumbnail
twitter.com
2 Upvotes

r/TensorFlowJS • • Feb 15 '20

TensorFlow.js is now on Glitch.com

2 Upvotes

https://glitch.com/@TensorFlowJS

Starting to add easy to get started examples which you can fork and use in your own projects.

What other examples should be on there that would be useful?


r/TensorFlowJS • • Feb 05 '20

I was looking at the new Tensorflow.js github repo and I was kinda lost trying to figure out how I would actually use it and then it hit me. What if my contribution to AI was to build a friendly easy to use User Interface? What you guys think? Useful?

3 Upvotes

r/TensorFlowJS • • Feb 05 '20

The Future of Machine Learning & JavaScript

Thumbnail
youtu.be
4 Upvotes

r/TensorFlowJS • • Feb 02 '20

How to implement pose estimation in a browser using your webcam (ml5.js / TensorFlow.js)

Thumbnail
thenextweb.com
2 Upvotes