Relative Content

Tag Archive for pythontensorflowmachine-learningtraining-data

How to train neural network model with large txt files in python using TensorFlow?

I’ve build a model with 65 input neurons and 4880 output neurons. My training data is stored in two large text files: ‘X_train.txt’ contains lines where each line represents a list of 65 numbers, and ‘Y_train.txt’ contains lines where each line represents an index number. I need to perform one-hot encoding on ‘Y_train’ to create a list with 4880 zeros and a single ‘1’ at the specified index.

How to train neural network model with large txt files in python using TensorFlow?

I’ve build a model with 65 input neurons and 4880 output neurons. My training data is stored in two large text files: ‘X_train.txt’ contains lines where each line represents a list of 65 numbers, and ‘Y_train.txt’ contains lines where each line represents an index number. I need to perform one-hot encoding on ‘Y_train’ to create a list with 4880 zeros and a single ‘1’ at the specified index.