r/TensorFlowJS • u/jscraft • Apr 05 '23
r/TensorFlowJS • u/jscraft • Mar 20 '23
The one hot encoding function in TensorflowJs: tf.oneHot() - Js Craft
r/TensorFlowJS • u/TensorFlowJS • Feb 08 '23
Google Touts Web-Based Machine Learning with TensorFlow.js
r/TensorFlowJS • u/lancejpollard • Jan 27 '23
Equivalent TensorFlow JS functions for these PyTorch functions?
Hey there, wondering if anyone could shed light on these ~10 PyTorch functions, what their equivalent is in TensorFlow for JS https://stackoverflow.com/questions/75230198/what-are-the-tensorflow-equivalents-of-these-pytorch-functions
r/TensorFlowJS • u/TensorFlowJS • Oct 05 '22
TensorFlow.js Monthly #9: AR Blackjack strategy, perfecting your sports game, and the first Web ML summit
r/TensorFlowJS • u/TensorFlowJS • Sep 28 '22
Blackjack card counting augmented reality style powered by Web ML (TensorFlow.js)
r/TensorFlowJS • u/TensorFlowJS • Sep 05 '22
TensorFlow.js Monthly #8: Exponential growth, JAX to JS conversion, new videos to watch
r/TensorFlowJS • u/danjlwex • Aug 24 '22
Smaller Container Size?
My worker microservice uses TFJS to predict video frames using a container running on a cluster of VMs on Google Kubernetes Engine (GKE). I'm using a gpu-enabled container which is built on top of the tensorflow/tensorflow-nightly-gpu image. That image is 2.67 GB! and it takes several minutes to start up after my worker VM is ready. It looks like the NVIDIA CUDA libs are the bulk of that, at 1.78 GB + 624 MB. Can I minimize the CUDA installation in any way since I'm only using TFJS which is using the `tfjs-node-gpu` WebGL-enabled backend? Are there any smaller base images that will support TFJS prediction?
r/TensorFlowJS • u/TensorFlowJS • Jul 11 '22
UPDATE: TensorFlow.js Community "Show & Tell" #7 live stream link for 15th Jul 9AM PT - bookmark for later and save the date!
r/TensorFlowJS • u/capital-man • Jul 10 '22
Tensorflow JS model crashing on mobile
Hi, im not an expert on web stuff so deploying a model to the web was a challenge in itself. The website basically works as intended on PC, but completely crashes on mobile (Safari, Chrome, etc.). The model is supposed to load first ('Model ready'), but nothing happens on mobile before crashing. Does anyone know why? I can't inspect element on mobile to see the console Output. Would this be something for tensorflow lite, even though im just running inference?
I could also use some tips on how to place or 'preload' the model for just the overall smootheness of the site. Please DM if you have experience with this! Thanks so much
Edit: This might be a stupid question, but even though the website and the model is on a hosting server, the inference is still client side right?
r/TensorFlowJS • u/TensorFlowJS • May 10 '22
Portrait Depth API: Turning a Single Image into a 3D Photo with TensorFlow.js
r/TensorFlowJS • u/AmongstYou666 • Mar 19 '22
To NPM or not?
The book on Tensorflow published in 2021 that I've just gotten is interesting but I'm spending more time upgrading deprecated packages than completing the examples. How do you keep up with all these updates?
r/TensorFlowJS • u/Formal-String-1809 • Mar 03 '22
So I came across this article. I’m new to tensorflow and I was wondering if you guys did encounter de same performance issue (slower). I found that if you use webgl as backend that problem will be resolved but can someone enlighten me on that topic?
r/TensorFlowJS • u/xiaolangkong • Dec 15 '21
Please help: tf.js model not loading on github pages
Hello, I am new to Github & TensorFlow.js
I forked https://github.com/reiinakano/arbitrary-image-stylization-tfjs, tried to convert its .travis.yml to run on Github Actions, and deploy it to https://xiaolangkong.github.io/arbitrary-image-stylization-tfjs/. However, I cannot figure out why the models do not load so I can run the sylization. What am I missing?
Thank you in advance!
r/TensorFlowJS • u/TensorFlowJS • Dec 11 '21
Tello drone + TensorFlow.js MoveNet pose model = Win, check this video tutorial
r/TensorFlowJS • u/hikoko8282 • Nov 19 '21
can you build a recommendation system with tfjs?
I'm just getting into tensorflow but my end goal is to build a recommendation system. Many tutorials I see online are all focused on building it with python but, I was wondering if it is possible to do with tfjs? if so, does anyone have any guides that you could share?
r/TensorFlowJS • u/TensorFlowJS • Nov 16 '21
New 3D Hand Pose model in TensorFlow.js with multi hand support and precise tracking
r/TensorFlowJS • u/TensorFlowJS • Nov 08 '21
[Project] Google MoveNet (Real-Time Pose Estimation) Used To Control Nintendo Punch-Out!!
r/TensorFlowJS • u/TensorFlowJS • Oct 29 '21
Autoencoders in TensorFlow.js bringing MNIST and CELEBA to life exploring latent space in real time
r/TensorFlowJS • u/TensorFlowJS • Oct 21 '21
Learn how an engineer used TensorFlow.js within GIS systems for satellite imagery classification
r/TensorFlowJS • u/Meshkat_Shadik • Sep 25 '21
Image prediction with tensorflow.js
I'm trying to write an api in Node.js with Express that takes an image from postman and puts in my image classification machine learning model (Mobilenet) for predictions.
Can anybody suggest me any good blog post/ written tutorials?
r/TensorFlowJS • u/RileyStang • Sep 20 '21
MatMul error with TensorflowJS based midi pattern generation project
Firstly, here's a demo video of the original software generating midi drum patterns based on input from another midi or audio file: https://youtu.be/eYUaYzfZUCo
To further explain what is happening: A Google research team had several professional drummers come in to play on electronic drum kits that turn their performances into midi files. They then trained a neural network with Tensorflow on over 14 hours of drum midis played by professional drummers. This is what creates such profound results as seen in the above video. And I have used this myself and found that if you repeatedly give it the same input, it will give nearly the same output, only with very slight variations, as I would expect from a real drummer that is improvising.
My overall goal is to create a fork of this software that has Drumify with a model that is trained on my data-set of midi drum files. So far the furthest I've gotten is a MatMul error, after following one of the repo contributor's instructions that he gave me. It was not without many other issues, like being unable to rebuild natively on Windows, and having to do it through the Windows Subsystem for Linux to get further. I will link here to the issue that has more detailed information. This seems like an old, seemingly abandoned project, and the people who worked on it are probably busy trying to attend to their job responsibilities so they can stay financially afloat. I just figured I would try this avenue for more assistance since I see a lot of potential in this project when artists can control the output of the plugins through training their models with the data of their choice.
I'm here to have a tool that is useful to other musicians to streamline their creative workflow, without stifling their style of expression. So, anyone that helps, their contribution will be forever made known to the world.
Here is the link to the issue I've created on the repo for more detailed information: https://github.com/magenta/magenta-studio/issues/54
Thank you for taking the time to read!
r/TensorFlowJS • u/xeld2 • Aug 28 '21
Do you have an Apple machine with M1 chip? I need your help!
Hi, I'm looking for people that have access to a Mac computer with M1 chip to test the following code: https://glitch.com/edit/#!/tfjs-gpu-bug
It produces a bug in my M1 machine but not the others I have tried so far. I want to confirm it is an actual bug before creating an official issue in Tensorflow's github.
For context, this is the full thread: https://discuss.tensorflow.org/t/browser-crashes-with-context-lost-webgl/3904
Thanks.