python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
ValueError: Input 0 of layer "sequential" is incompatible with the layer: expected shape=(None, 1000), found shape=(None, 30
I need help with this error. I am attempting to train my LSTM model after training the neural network and fine-tuning
history = model.fit(XTrain ,yTrain, batch_size=250, epochs=100, validation_split=0...
Celestine Akpanoko
Votes: 0
Answers: 0
How to do k-Fold Cross Validation with tf.data.Dataset API?
It easy to do k-Fold Cross Validation by using scikit-learn package. There we separately use data and labels. However, here combine data and labels before feeding into model. like:
tf.data.Dataset.fr...
Ahmad
Votes: 0
Answers: 0
cannot import name 'normalization' from 'tensorflow.python.keras.layers'
I am trying to use tensorflow_rankings, but cannot import it due to the above error. I am using tensorflow 2.8.0 and tensorflow_rankings 0.5.0, which seem to be the latest stable builds. They are what...
Jage
Votes: 0
Answers: 1
TensorFlow 2 keras model training very slow on CPU and most cpu cores (>95% cores) are idle
I am trying to train a neural network model (TensorFlow 2.8) on a CPU (EC2 instance m4.10 with about 160GB and 40 CPU cores) from the Jupyter notebook. The training data is loaded from 300+ gzip files...
user3448011
Votes: 0
Answers: 0