All Questions
Tagged with python-3.x tensorflow
4,835
questions
0
votes
0
answers
29
views
LSTM Prediction Issue: Not Predicting Last Record and Backward Prediction Behavior
I'm conducting some tests with LSTM for learning purposes, but I've encountered a peculiar situation while testing its predictions.
I've observed in the graph images that it doesn't predict the last ...
0
votes
0
answers
57
views
TensorFlow Lite Model Compatibility Issues with Feedback Manager and oneDNN Custom Operations
for the Python code given below. I am getting this error. Please, anyone, help me with this.
2024-07-15 17:11:36.038742: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may ...
0
votes
0
answers
44
views
TensorFlow does not detect GPU 2024
I'm using an RTX 3050 Laptop GPU with the latest driver update:
NVIDIA-SMI 555.99
Driver Version: 555.99
CUDA Version: 12.5
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA ...
-1
votes
1
answer
66
views
tensorflow.python.framework.errors_impl.FailedPreconditionError: C:\Users\Ata Onur Özdemir\PycharmProjects\Emotion_Detection\output is not a directory
This is a sample Sentimental Analysis code for hotel reviews like positive or negative. I use pandas, transformers, datasets, turkish_lm_tuner libraries. Firstly, I think Path name (C:\Users\Ata Onur ...
0
votes
1
answer
43
views
What is the alternative for keras.layers.DenseFeatures in TensorFlow 2.16.+
I am using feature-column dataset in my code, in newer version of TensorFlow 2.16.1 and later there is no keras.layers.DenseFeatures class in order to ready the input layer for the DNN. what is the ...
0
votes
0
answers
29
views
Facing issue with Custom Function and Model in Tensor flow
I was implementing a Dehazenet model by using tensorflow where i had to create a Maxout and Brelu class and function as there is nothing built-in in tensorflow for them to use, later while trying to ...
0
votes
0
answers
250
views
Error: missing attribute 'value' LLVM ERROR: Failed to infer result type(s). occuring while trying to convert .h5 file to .tflite file
I had trained a mobilenet model and exported the model into a .h5 file after training. I need to convert it into a .tflite file to use it in a mobile application, but I am not able to convert it as I ...
0
votes
0
answers
40
views
Could not find the way to resolve SSL certificate verification issue, for downloading TensorFlow 1.12.0
I am using tensorflow 2.16.1 but for my project purpose i have to degrade it to 1.12.0. For this I downloaded python 3.7.9 which was not suitable for tensorflow 1.12.0, so again I downloaded python 3....
0
votes
1
answer
52
views
keras.utils.get_file() throws TypeError: '<' not supported between instances of 'int' and 'NoneType' [closed]
I am trying to follow along with the book Applied Deep Learning and Computer Vision for Self-Driving Cars. I am running into issues with keras while running some of the example code. When trying to ...
0
votes
0
answers
26
views
TensorFlow PPO model not giving model output
I'm using stable_baselines3 module based on tensorflow and created a training model with custom feedback system but train ends in seconds and then when I try to use saved data I can see it doesn't ...
1
vote
1
answer
50
views
3D cropping inside a TensorFlow/Keras model
I'm trying to create a model that performs 3D cropping on an input tensor based on given bounding box coordinates, however, I keep receiving the following error message:
TypeError: Exception ...
0
votes
0
answers
74
views
How to inference transformer Tflite model Tensorflow?
I want to deploy this model to Raspberry Pi later, but I don't know how to inference the translation using Tflite model. This model is based on this tensorflow tutorial. Here the dataset and tokenizer ...
-1
votes
1
answer
24
views
How do I load the saved keras weights from an .h5 file
I am trying to replicate an example of image classification - training, validation and then finally test on a standalone image sample.
I saved the weights (only) using:
model.save_weights('file_name....
0
votes
0
answers
36
views
How do I solve this on CNN on real image files-creating the model?
I'm encountering a ValueError in my Keras model. I'm trying to load a pre-trained model using load_model, but I'm getting the error ValueError: Kernel shape must have the same length as input. I've ...
0
votes
0
answers
28
views
High probability with empty text tensorflow
I have a chatbot code
intense.json:
{"intents" : [
{"tag": "greetings",
"patterns": ["hi", "hello", "greetings"],
"responses&...