GPU run out of memory when use nn.SpatialDepthWiseConvolution

20 views
Skip to first unread message

Elliot He

unread,
Oct 19, 2017, 7:11:44 PM10/19/17
to torch7
Originally, I have the ResNet code running using nn.spatialconvolution. Once I got the neural network training, GPU memory usage basically did not change.
However, after I replace the nn.spatialconvolution with nn.SpatialDepthWiseConvolution (with some add-on simple layers), I noticed that the GPU memory usage keeps growing after training each mini-batch. How could I solve it?
Reply all
Reply to author
Forward
0 new messages