Skip to content
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

how to read .mat files generated from the 'makeCorresDataset.m' matlab script in python #21

Open
muhammadaly opened this issue Nov 21, 2018 · 2 comments

Comments

@muhammadaly
Copy link

I want to read data generated from makeCorresDataset.m matlab script using python

@andyzeng
Copy link
Owner

andyzeng commented Nov 21, 2018

Does SciPy's loadmat work? Alternatively you could load the data in Matlab, then save it into something that's easily python-readable like HDF5.

@muhammadaly
Copy link
Author

actually I successfully load the files, I'm trying to understand the object structure for mat['data'] .
when reading mat['labels'][0][0] I got 1x1 array of float element which is donate the label , but in case of mat['data'][0][0] I found and 1x1 object that I couldn't understand .

what extactly I want is the TFD values in order to be able to train them in keras

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants