python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Predict new coordinates given old coordinates in Tensorflow's Keras
The goal is to be able to predict a new set of (x1, y1), (x2, y2) coordinates when given the old set of (x1, y1), (x2, y2) coordinates.
That is to say, if my old coordinates are (0, 0), (4, 4), I want...

Grant Allan
Votes: 0
Answers: 1
Keras Adam minimize function: no gradients provided
I need to optimize a function with Adam Optimizer (no Neural Network involved). I made a dummy example to understand how it works, using the minimize function but seems like I'm not getting it. It's a...

thatOldITGuy
Votes: 0
Answers: 0
Precison issue with sigmoid activation function for Tensorflow/Keras 2.3.1
Assuming the following forward pass in a classic ANN
(Based on https://mattmazur.com/2015/03/17/a-step-by-step-backpropagation-example/):
Now let's use a sigmoid activation on that, I get:
So...

Greg7000
Votes: 0
Answers: 1
AttributeError: 'PrefetchDataset' object has no attribute 'shape' when using train_on_batch with tf.data.dataset
I got the following error message while using tf.data.dataset (tf version 2.6.2) with train_on_batch:
/lib/python3.9/site-packages/tensorflow/python/keras/engine/data_adapter.py", line 1522, in &...
Christian Gold
Votes: 0
Answers: 0