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
how to pad sequences in a tensor slice dataset in TensorFlow?
I have a tensor slice dataset made from two ragged tensors.
tensor_a is like: <tf.RaggedTensor [[3, 3, 5], [3, 3, 14, 4, 17, 20], [3, 14, 22, 17]]>
tensor_b is like: <tf.RaggedTensor [[-1, 1,...
pieckannie
Votes: 0
Answers: 1
Serialize TF graph after XLA compilation
I was wondering if there is a way to serialize a TF graph after compiling with XLA. Typically we can serialize a graph as a proto file and load it afterwards. However, the graph execution is slow the ...
photon1981
Votes: 0
Answers: 0
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