I followed all instructions to install @tensorflow/tfjs-react-native given at https://www.npmjs.com/package/@tensorflow/tfjs-react-native/v/0.3.0 this is my app
I am using tf-agents library to build a contextual bandit. For this I am building a custom environment. I am creating a banditpyenvironment and wrapping it in t
I'm working on a RNN model to recognize speech keywords. I found out that the code below need to run at least 5 minutes in google colab. Is there any way of cod
I have a TfLite model that takes a standardized float32 image as an input, the pixel range should convert from the [0~255] to [-1~1] I wrote a demo function but
How do I fit two unproportional arrays to a regression model? Is it possible to resize/reshape one without loosing the data? I used the code from here but my tr
I am trying to re-train EfficientDet D4, coming from Tensorflow Model Zoo (http://download.tensorflow.org/models/object_detection/tf2/20200711/efficientdet_d4_c
I am getting the same prediction for different inputs. I am trying to use a regressional neural network. I want to predict values instead of class using neural
I'm working on a binary semantic segmentation problem. I built an UNet model with MobileNetV2 backbone. Here is my model code: def upsample(filters, size, apply
I want to convert this below RNN into bidirectional RNN, how can I do that? #Call the function and compile the model. model = RNN() model.summary() model.compil
Let's suppose I have a matrix like this: [[15,10,8], [11,5,8], [9,14,4]] I need to write a function that, for each row, returns the indices of the maximum valu
I am very new to Python, but need to work with it during my study for a project. We are trying to make a camera scanning system. I have found an amazing code by
I am trying to execute a code of mine, but i keep getting the following error: ModuleNotFoundError: No module named 'hcaptcha' When I try installing 'hcaptcha
I know that how to generate next word in keras with lstm but how to predict previous word for example If you have two words like "car" and "running" then It sho
I try to use my GPU for the first time to run a model with Tensorflow it exits whenever training starts with message: Epoch 1/15 2022-05-07 00:46:23.749793: I t
I'm using TensorFlow and would like to create a 1D tensor t1 from two smaller tensors t2 and t3, where len(t2) + len(t3) == len(t1) and a boolean mask which ind
20220422: I've read some tutorials on other embeddings and now I guess my question is actually how to create an embedding matrix using Bert word embeddings? 202
I have to do grid search on my DNN. But I am getting an error on GridSearchCV function. Here is the code for creating and compiling the model I used and also wh
Hi Im currently working on the below program but im getting below error: ValueError: Input 0 of layer "sequential_35" is incompatible with the layer: expected s
so I've been developing some machine learning models using sklearn and tensorflow in python . and I want to integrate it into a java web app. so far I've been s
I am using VGG19 pre-trained model with ImageNet weights to do transfer-learning on 4 classes with keras. However I do not know if there really is a difference