traincascade parameters: precalcValBufSize and precalcIdxBufSize
My question is that when I use traincascade, there are these two parameters: -precalcValBufSize and -precalcIdxBufSize.
Can you give me some hints about how to calibrate these numbers? I know that the more memory equals lesser execution time, but how can I set a good balance between the two values when the memory is limited?
Also: how much is too much?