Skip to content

data. DefaultCPUAllocator: not enough memory: you tried to allocate 51906150400 bytes. #1201

Answered by samet-akcay
monkeycc asked this question in Q&A
Discussion options

You must be logged in to vote

Batch size would change this. Padim, fits the entire dataset into memory before computing the statistics. What you could do is potentially reduce n_features parameter in Padim model section to reduce the extracted features. You could check the paramter here

n_features: int | None = None,

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by samet-akcay
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1181 on July 21, 2023 20:12.