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

MemoryError:Unable to allocate array with shape (39146090,75) and data type float64 #5

Open
leader120 opened this issue Feb 22, 2020 · 1 comment

Comments

@leader120
Copy link

First,thanks for your code. I have run the code
I don't find the feat.pkl , run Get_feature.py to get feat.pkl
when i run Get_kernel.py ,my server have has MemoryError (my server has 128g physical memory)
but , when i run about minst code don't happened memoryerror , It is happened at cifar code
So, I'd like to ask if you have any memoryerror in your experiment, I think 128g physical memory already big enough

@minzhang-1
Copy link
Contributor

Yes, Getkernel.py uses memory over 128G. You may use incrementalpca to replace pca so that you can set batch number. But the test accuracy will be decreased by around 1%.

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