You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/06/18 07:38:36 UTC

[GitHub] [incubator-mxnet] suyz526 commented on issue #14810: Add the Gluon Implementation of Deformable Convolution

suyz526 commented on issue #14810: Add the Gluon Implementation of Deformable Convolution
URL: https://github.com/apache/incubator-mxnet/pull/14810#issuecomment-502986156
 
 
   Hi,
   
   currently, the deformable convolution layer only supports the computation on GPU, so you need to make sure that all the parameter are stored on GPU. This can be done with 
   ```
   ctx = mx.gpu()  #ctx = mx.gpu(gpu_id)  
   net.initialize(ctx=ctx) 
   ```
   or in your case,
   `net.load_parameters(path, ctx=ctx)`
   
   Do you have some CustomOp in your network, which only supports CPU, e.g. it was implemented with pure numpy? 
   

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


With regards,
Apache Git Services