-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function write_linux #8
Comments
The names of the different formats are a bit confusing, but here's an explanation: |
Thanks for reply. I read a dataset file using the Read_Ndataset() function and done some modification. I would like to convert back to dataset format same as N-MNIST .bin files. |
For this you'd need to make your own function which reverses the format of "Read_Ndataset.m". I haven't had access to matlab in years, so I cannot test it, but it would look something like this: function write_Ndataset(TD, filename) evtStream = uint8(length(TD.x)*5); evtStream(1:5:end) = TD.x-1; evtFile = fopen(filename, 'w'); return |
Error in using function write_linux. Can't write data back to a binary file.
The text was updated successfully, but these errors were encountered: