Category "tensorflow"

Facing These Issues When Generating IOS Build

These are the Errors while generating The IOS build TFlite Error (2.7.0) This is the current package which I am using in my project The Tflite Issue has been

JSONDecodeError: Expecting value: line 1 column 1 (char 0) on Raspberry Pi's Imager (GNU/Linux)

I've made an image recognition neural network in windows. Tested it, and it works (hurray!). It uses tensorflow. Now I wanted to transfer it on Raspberry Pi's I

model.predict_classes is deprecated - What to use instead?

I have been trying to revisit my python code for prediction on neural network and i realized after running the code that model.predict_classes is deprecated sin

Inspite of my model being properly trained and dumped in an pickle file and getting an unwanted error while testing the file using cv2.VideoCapture

My model is already trained and is saved in model_trained.pkl file. And I'm trying to test the same using video captures. But getting error "FileNotFoundError:

Another approach to create and form Tfrecord for training and testing data

I am currently using this command to create a train.record file !py generate_tfrecord.py -x C:/Users/Desktop/dataset/Workspace/images/train -l C:/User/Desktop/d

Another approach to create and form Tfrecord for training and testing data

I am currently using this command to create a train.record file !py generate_tfrecord.py -x C:/Users/Desktop/dataset/Workspace/images/train -l C:/User/Desktop/d

Warning when fitting the LSTM model

When I try to fit my model i get an error. Here is the code: model = Sequential() model.add(LSTM(128, activation='relu', input_shape=(trainX.shape[1], trainX.sh

PicklingError: Could not serialize object: ValueError: Cell is empty when training elephas-keras model inside pyspark

i am new in using pyspark with elephas and tensorflow i am trying to train a deep learning model inside pyspark using elephas module my code : https://www.kaggl

Running out of memory on Google Colab

I'm trying to run a demo of TF Object Detection model with Faster RCNN on Google Colab Pro GPU (RAM: 25GB, Disk: 147GB), but it fails and gives me the following

How to use custom function with tensorflow dataset API?

I am new to TensorFlow's tf.data.Dataset and I am trying to use it on my data that I loaded with pandas dataframe as follows: Load the input date (df_input):

ModuleNotFoundError: No module named 'tensorflow' error in vscode terminal while running fine in wsl

I installed tensorflow using conda in wsl, and now I'm using it through Jupyter notebook and it's working fine. I also write codes in vscode and then run it thr

How bert_en_uncased_preprocess was made? Such as by training a NN or manual coding?

I am new to deep learning and have come across BERT. I tried small_bert/bert_en_uncased_L-4_H-512_A-8 as a Tensorflow tutorial did, and the result was quite ama

Convert TensorFlow Keras python model to Android .tflite model

I am working on an image recognition project using TensorFlow and Keras, that I would like to implement to my Android project. And I am new to Tensorflow... I w

How to specify augmentation in TensorFlow Lite Model Maker?

I'm trying to make an image classifier with the help of TensorFlow Lite Model Maker following this tutorial: https://www.tensorflow.org/lite/tutorials/model_mak

generate_tfrecord.py: error: unrecognized arguments - error while trying to create TF Record files for test and train data

While using the generate_tfrecord.py, I'm always getting this error of "generate_tfrecord.py: error: unrecognized arguments". But, I haven't changed anything, a

Unable to load facenet_keras.h5 model in python

I am fairly new to tensorflow and dont have any idea what is going wrong. It keeps me showing this "bad marshall error" which i cant seem to understand is cause

Difference between the return values of tensorflow.keras.preprocessing.img_to_array and tf.image.decode_jpeg

I have a task to load and extract feature embeddings from images. I've working solutions that utilize two different ways of loading the image: tensorflow.keras.

Background of image turning black when using keras.preprocessing.image load_img

my code: from keras.preprocessing.image import load_img, img_to_array from keras.preprocessing.image import smart_resize import numpy as np #load pretrained mo

Why ais my output "nan", keras model prediction

I'm trying to make an AI attempting to predict numbers from prime number sequence, but my model outputs "[[nan]]". My csv file is formatted like this: number of

NumPy array value error from training in Auto-Keras with StratifiedKFold

Background My sentiment analysis research comes across a variety of datasets. Recently I've encountered one dataset that somehow I just cannot train successfull