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

Could you provide sample data? #1

Open
twkangumich opened this issue Nov 17, 2020 · 1 comment
Open

Could you provide sample data? #1

twkangumich opened this issue Nov 17, 2020 · 1 comment

Comments

@twkangumich
Copy link

Hi,
I am trying to use your code, especially "scripts/tf_lca_script.py".
It would be really helpful if I can get some sample data, like '../audition/Data/allTIMIT_pca.pickle' or '../vision/Data/300kvanHateren200.npy'.

Thanks.

@emdodds
Copy link
Owner

emdodds commented Nov 22, 2020

Hi, thanks for your interest in my code. I don't know if I can provide those data, but if you just need sample data to see how this code works you can use the Olshausen and Field dataset (you want IMAGES.mat which has the whitened images). You can load this data like this:

datafile = '<path_to_IMAGES.mat>'
data = io.loadmat(datafile)["IMAGES"]
mypca = None
stimshape = None

tf_lca_script.py should work with this data if you replace lines 29-44 with this data loading code (with the appropriate path to the images).

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