I am working with TensorFlow Federated framework and designed a keras model for a binary classification problem. I defined the iterative process with tff.learni
I am a newbie in some sequential models in Tensorflow with Python. I have a transformation sequential model like the one below. It applies randomly to a given i
I am trying to reproduce my code from online Jupyter Notebook (COURSERA) to my own local environment (Anaconda 3 Jupyter with CUDA installed) All Codes a
fixing an error ValueError: x and y can be no greater than 2-D, but have shapes (23,) and (23, 12, 1) and to make my original graph with prediction graph line
Looking to do some fine tuning. The dataset (found here: https://knowyourdata-tfds.withgoogle.com/#dataset=sun397&filters=kyd%2Fsun397%2Flabel:%2Fh%2Fhouse&
How can I activate keras.EarlyStopping only when the monitored value is greater than a threshold. For example, how can I trigger the earlystop = EarlyStopping(m
i am new to python and i am trying to create a model that can measure how similar movies are based on the movies description,the steps i followed so far are: 1.
I'm trying to deploy my machine learning model to AWS Lambda function. I trained my model locally with Keras and got .h5 file. I zipped Tensorflow and Keras mod
How can I make this DNN model in tensorflow? 31 neurons in the first, 10 in the second, 5 in the third hidden layer, and 2 neurons in the output layer. The acti
I want to be able to predict the Class of a Single Image from the Learner and i always get an Index Out of Bound Exception . Here is the Code data = ImageDataLo
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