Hi Yihui,
When I'm trying to prune conv4_x layer using lasso regression, I encountered a memory problem.
For Conv4_2, consider 5000 images and 10 samples per image, and 512 input channel and 512 output channel, the Z matrix will be 48.8 GB in float32. And performing LASSO on such a big matrix requires 4x + more memory.
How did you manage to calculate all this? Did your server has 128GB + memory? Or is there some way to workaround this? Thanks.
Hi Yihui, When I'm trying to prune conv4_x layer using lasso regression, I encountered a memory problem.
For Conv4_2, consider 5000 images and 10 samples per image, and 512 input channel and 512 output channel, the Z matrix will be 48.8 GB in float32. And performing LASSO on such a big matrix requires 4x + more memory. How did you manage to calculate all this? Did your server has 128GB + memory? Or is there some way to workaround this? Thanks.