I have a middleware: which logs me (image): my API-Call in the backend looks like: it logs me: Answer First of all, you are doing a GET request. You can’t post data to a /GET endpoint. You need a /POST. Secondly, req.query is an object of key-value pairs of query parameters, which in your case is rightfully empty. So I
Tag: tensorflow
Tensorflow Js No backend found in registery blazeface
I’m trying to know if there is some face on an image and so I’m using tensorflow JS with blazeface model. But after getting the code an error appear: This is my code (I copy past it from the documentation): Remember that the error came from the following line const model = await this.blazeface.load(); So a lot of people are
what’s up with tensorflow.js MNIST example nextbatch implementation?
While taking inspiration from the tensorflow.js Handwritten digit recognition with CNNs tutorial, I stumbled upon the following implementation of the nextBatch function in mnist_data.js: I understood the point of this function was selecting the images and the corresponding label. The problem with the provided implementation is that is correctly selecting the corresponding label but also other NUM_CLASSES-1 (10 elements in
Uncaught Error: Based on the provided shape, [1024,3], the tensor should have 3072 values but has 30
I am trying to build a Tensorflow.js app, it works all good locally, but when I hosted it (I tried Netlify and Vercel on both Firefox and Chrome) I got this error: Uncaught Error: Based on the provided shape, [1024,3], the tensor should have 3072 values but has 30. Any ideas? My only one was that it would have to
How can I access the real-time sketch images on a p5.js canvas?
Recently I am attempting to modify the source codes of this page. The underlying technique of this interactive programe is called sketch-rnn, a deep learning algorithm that can generate sketches. I need to access the real time images on the canvas so that I can use convolutional neural network (CNN), and feed the image as a 2d array to the