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)
tensorflow 2 use keras.sequence as data generator for training machine learning model with multiprocessing error
I would like to do a test about training a machine learning model on EC2 instance with only CPUs from jupyter notebook.
The code is tensorflow 2.8.
Based on the tf doc, https://www.tensorflow.org/api_...
user3448011
Votes: 0
Answers: 1
keras pad_sequence and Tokenizer
i learn on kaggle dataset Here to practice on nlp i have an error when i tokenize the tweets and go to padding them i got an error i search for an solution but i don't get answer
# Get tha max Numbe...
Ahmed Soliman
Votes: 0
Answers: 1
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
What is the difference between Activation layer and activation keyword argument
guys what is the difference between activation kwarg and Activation layer in tensorflow?
here's an example :
activation kwarg :
model.add(Dense(64,activation="relu"))
Activation layer :
mod...
Abhimanyu Sharma
Votes: 0
Answers: 1