Questions tagged [tensorflow]
For questions related to Google's open-source library for machine learning and machine intelligence. However, note that programming questions are off-topic here.
359 questions
0votes
0answers
22views
Is tensorflow broken?
I'm currently learning how to use JAX (I'm very new to machine learning), and I've been trying to replicate code examples from Grigory Sapunov's book Deep Learning with JAX, which is copyrighted in ...
1vote
1answer
37views
How can STFT layer be trainable in Keras 3?
A traditional STFT parameter is window size, where greater window size means higher frequency domain resolution but in trade off the time domain resolution. It makes sense that if window size became ...
0votes
0answers
25views
Kaggle notebook from keras 2 to keras 3 problems
as the title suggests, I'm trying to convert a notebook in keras 3, but idk why it's not working properly. This is the original notebook (tell me if it's better to put here the code), I'm trying to do ...
0votes
0answers
14views
ANN poor NMSE issue: complex valued input and output discrete-time voltage data from third order static non-linear system
I'm currently working on training a neural network in Python to model a nonlinear system using complex-valued voltage data. My dataset comprises 3400 training samples, each consisting of 128 discrete ...
0votes
0answers
41views
Why am I getting the same accuracy on validation data? - Python - Computer Vision - Deep Learning
I'm getting the same accuracy on validation data, and the accuracy on the training data varies little in every epoch. The training data consists of 19670 images (14445: class 0, 5225: class 1). The ...
0votes
1answer
36views
custom seuential layer which can iterate over each value in the input
I would like to make a custom layer which takes an image (2D) and does some math to each pixel and then passes this to the next layer. I have below some psudo code which tries to implement this. How ...
0votes
0answers
52views
Keras Model: Input Shape Mismatch Issue After Debugging Dimensions
I have a multi-input Keras model combining a text input and a numeric input. Both inputs are passed through Dense layers followed by Embedding layers, then concatenated and pooled using ...
0votes
1answer
46views
How to Resolve Matrix Size Mismatch in TensorFlow Model Builder for Combined Text and Numeric Inputs?
I'm working on a Keras model using the Functional API that processes two inputs: Text Input: A padded integer array with a shape of (32, 1149) (batch size 32, sequence length 1149). Example: [5, 10, 3,...
0votes
1answer
39views
How to print intermediate shapes in a Keras Functional API model_builder during graph construction?
I am trying to debug my model_builder function in Keras Functional API by printing the shapes of intermediate tensors. However, none of the methods I have tried so far seem to work as expected. Here's ...
1vote
2answers
170views
Why are PyTorch and TensorFlow the most widely used frameworks?
Even through there are several others, what's special about these two that make them so popular?
1vote
1answer
88views
Regression model is doing exceptionally very well on time series
I have the following task to do: I have time series data. Training by the consecutive 3 days to predict the each 4th day. Each day data represents one CSV file which has dimension 24x25. Every ...
0votes
0answers
47views
How to Implement a Custom TensorFlow Layer to Apply CLAHE on an Image?
I am trying to implement a custom TensorFlow layer to apply Contrast Limited Adaptive Histogram Equalization (CLAHE) on an image. I have written the following code, but I am not sure if it is correct ...
1vote
0answers
21views
What Policy/Agent and Observation Spec To Use For TensorFlow Agents For Video Game Platformer?
I'm trying to create a model to beat a video game platformer I made a few months ago. In the game, the platforms scroll down from the sky and the player has to keep jumping to them to avoid touching ...
0votes
0answers
30views
My CNN validation Accuracy increases super slow?
im doing a retinopathy detection project with over 3500 images, 700 in each class. I've filtered the image like It seems that my model isn't learning from the data, or is having trouble because the ...
1vote
1answer
43views
Tensorflow Fine-tune BERT error
I have a piece of Tensorflow code: ...