r/TensorFlowJS • • Feb 02 '24

Tensorflow js compatibility issues

0 Upvotes

I'm working on yoga pose estimation using the Movenet Thunder model offered by Google. The model is getting 93% accuracy on 12 yoga poses.

The next step for me is to make a website(I'm using React) hence I have converted this model and saved it as a TensorFlow.js JSON file. But here's the issue: I have successfully hosted my model using Azure, and everything worked fine until I saw this issue. I know this has to do with some compatibility issues with Keras and TensorFlow js, I searched online for answers but didn't find any. If you can help me with this, I would make my day!! Thanks in advance.


r/TensorFlowJS • • Oct 06 '22

Legally clean training data for generative AI

0 Upvotes

vAIsual, pioneers in legally clean training data for generative AI, is proud to announce the launch of its Dataset Shop www.datasetshop.com; effectively solving the problem of millions of photographs being illegally scraped from the internet to train artificial intelligence models.

#data #training #ai #artificialintelligence #privacy #syntheticmedia #syntheticcontent #synthetic #business #marketing #machinelearning #deeplearning #EmergingTech #conversationalai #AISolutions


r/TensorFlowJS • • Jan 17 '23

404 error accessing model weights from private git repo

0 Upvotes

Hi 

I am trying to access the model weights from a private github repo. The call is through an async load function (illustrated below)

But this gives a 404 error. Note I am passing a token via the link. 

async function load_model() {
  const model = await loadGraphModel(
    'https://raw.githubusercontent.com/<git-user>/<private repo>/master/models/web_model/model.json?token=<git-token>'
  );
  return model;
}

r/TensorFlowJS • • Jan 27 '22

Image processing on YouTube video

0 Upvotes

Hello!

I would like to get the frames of a YouTube video as input to my model.

I have the model ready and it accepts an image and produces an output image, and I would like for this model to have the frames of a YouTube video as input one after the other. Also, preferably I would like the output of my model to be displayed instead of the video itself.

I am fairly new to Javascript and TensorFlowJS but not Machine Learning.

  1. Is this possible?

  2. How should I go about doing this?

  3. What things should I learn to be able to do this?

  4. Has anyone tried something similar? If there are example codes available for achieving something similar please share.

  5. If this can be done without spending much time learning Javascript or something new, that would be perfect.

Thank you for reading my post!


r/TensorFlowJS • • May 22 '21

Tensorflow lite

0 Upvotes

why there is not a tensorflow lite for Node.js? is there any Technical reason behind this?


r/TensorFlowJS • • Mar 16 '23

Error in installing Tensroflowjs for tfjs-node in native mac arm64 , error with the binding.gyp file can someone guide me with step by step process to get it installed the error I get is

1 Upvotes

r/TensorFlowJS • • Aug 05 '22

Level up gaming with your body and animatronic backpacks - Made with TensorFlow.js

Thumbnail
youtube.com
1 Upvotes

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 • • Sep 13 '24

Help with loading a pre-trained .tflite model in a React app using TensorFlow.js

1 Upvotes

I'm working on integrating a pre-trained .tflite model into a React application but have been running into some issues, particularly with TensorFlow.js. I’ve been getting console errors during the loading process, and I’m wondering if there are any best practices or standards for handling .tflite models in a React app.

Has anyone successfully done this, and if so, could you share any tips or guidance? Also, any advice on troubleshooting TensorFlow.js in this context would be much appreciated!


r/TensorFlowJS • • Apr 28 '24

which tensorflow version is the best?

1 Upvotes

i have tensorflow 2.15 and i regret downloading this garbage it has lot of warning lr doesnt worknexcept if u write learning rate and lot of warning like 2024-04-28 19:40:09.311611: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable `TF_ENABLE_ONEDNN_OPTS=0`.

WARNING:tensorflow:From C:\Users\Tadele_pr\AppData\Roaming\Python\Python39\site-packages\keras\src\losses.py:2976: The name tf.losses.sparse_softmax_cross_entropy is deprecated. Please use tf.compat.v1.losses.sparse_softmax_cross_entropy instead.

on my previous tensorflow version this thing never happened now which tensorflow version do you recommend me with having reach features but also like less warning


r/TensorFlowJS • • Aug 08 '24

Developing Secure Mobile Applications: Tips and Best Practices

Thumbnail
quickwayinfosystems.com
0 Upvotes

r/TensorFlowJS • • Feb 17 '24

Rant time on tf1 -> tf2

1 Upvotes

Don’t know where else to put this and need to not feel crazy. How is everyone not kicking and screaming over this move? Our team of AI devs are super unimpressed with the tensorflow ecosystem after trying to move to Google coral. Then there is tensorflow 2, seriously, what in the duck was the tf team thinking when they moved to tf2/keras. They just removed out valuable features like QAT aware training, “sorry that’s just impossible now.” Then they deprecate the version that is documented 100 times and make it impossible to use those projects on modern CUDA. Looking at numbers, you see that tf2 models perform worse in accuracy AND latency. Also, the syntax is STILL worse in keras than PyTorch ecosystem. I don’t think this is a skill issue when no one on our team can install tensorflow 1. We’ve tried docker, native, pip, jupytr, conda, poetry, collab, sagemaker. THERE IS LITERALLY NO WAY TO GET BACK ANY OF THESE FEATURES WHEN ITS DANGLED IN FRONT OF YOU FROM OLD DOCS. Okay, so then there is a solution. “Just rewrite the entire project to use the v1 compat modules.” Are you joking? This was literally what software versioning was rightly founded on. ML teams need to create better, as the developers they serve deserve a sane ecosystem to create flexibly. AI in general has too many people who don’t know how to make stable software, it’s just a bunch of people who make jupyter notebooks. A major version change obviously includes deprecation and breaking changes, but this is so next level to anything I’ve ever seen in how they say FU to so much existing work.


r/TensorFlowJS • • Sep 23 '20

Show an Tell from TensorFlow - EnjoyingThe.Show

2 Upvotes

r/TensorFlowJS • • Jun 19 '20

6 Easy Steps to Implement a Computer Vision Application Using Tensorflow.js

5 Upvotes

r/TensorFlowJS • • Oct 03 '22

YOLOv5 NPM package: https://github.com/SkalskiP/yolov5js

5 Upvotes

r/TensorFlowJS • • Mar 02 '21

I wrote a book on TensorFlow.js

Thumbnail
gallery
11 Upvotes

r/TensorFlowJS • • Feb 20 '22

Using TensorFlow.js AI hand recognition to control Three.js objects

18 Upvotes

r/TensorFlowJS • • Aug 13 '21

A Design System Made with TensorFlow JS - like spell check for design

Thumbnail
judepark-6960.medium.com
2 Upvotes

r/TensorFlowJS • • May 05 '21

Motion parallax effect - turn 2D monitor into 3D with this TensorFlow.js demo

Thumbnail
youtube.com
2 Upvotes

r/TensorFlowJS • • Nov 08 '21

[Project] Google MoveNet (Real-Time Pose Estimation) Used To Control Nintendo Punch-Out!!

Thumbnail
self.machinelearning
2 Upvotes

r/TensorFlowJS • • Apr 05 '22

TensorFlow.js Monthly Newsletter #3: Case studies, talks, and demos. Learn how LinkedIn uses TensorFlow.js and beyond.

Thumbnail
linkedin.com
3 Upvotes

r/TensorFlowJS • • Nov 09 '21

Blink detection with Tensorflow.js

Thumbnail
hashnode.com
3 Upvotes

r/TensorFlowJS • • Jan 09 '22

New EdX course: Google AI for JavaScript developers with TensorFlow.js coming soon

Thumbnail
edx.org
9 Upvotes

r/TensorFlowJS • • Oct 29 '21

Autoencoders in TensorFlow.js bringing MNIST and CELEBA to life exploring latent space in real time

Thumbnail
youtube.com
2 Upvotes