Convert MNIST data set from CSV to ubyte format
问题 I'm working with the MNIST data set. I pulled down the original binary files (i.e. -ubyte; 784 columns X 60,000 rows for training data set), and converted them to CSV so I could do some processing on them. Now I want to convert the CSV files back to ubyte, to upload them to a pipeline I'm testing. I found this code, but I would have thought converting .csv to ubyte would be a common process, particularly as the MNIST data set is so famous, and I'm wondering am I missing something and if there