ijkguo commented on issue #11980: new rcnn code, gpu memory is increasing and 
gpu utility is very low, what is the reason?
URL: 
https://github.com/apache/incubator-mxnet/issues/11980#issuecomment-410039815
 
 
   Occupy more memory (initially): because the maximum reserved shape changed 
from (1, 3, 600, 1000) to (1, 3, 1000, 1000).
   
   Keeps increasing: because MutableModule is replaced by Module which supports 
varying input shape. The behavior of Module is to allocate more and more memory 
until we can't, but it is safe. MutableModule shared the initially reserved 
memory, hence not increasing.
   
   Lower GPU utilization: because all Cython speedup is removed.
   
   Changing to the new version makes the example much easier to setup, to use 
or to maintain with the price of slower speed. However, research 
implementations based on the original example is available elsewhere, for 
example https://github.com/msracver/Deformable-ConvNets. For a historical mind, 
the old version is available at https://github.com/ijkguo/mx-rcnn/tree/v5.1.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to