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 06:42:09 UTC

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

lucinyaLi commented on issue #14810: Add the Gluon Implementation of Deformable Convolution
URL: https://github.com/apache/incubator-mxnet/pull/14810#issuecomment-502969476
 
 
   I met some error when I used the deformableconv layer presented above.
   The error is :
   MXNetError: [14:16:07] src/operator/contrib/././nn/deformable_im2col.h:94: only implemented in GPU
   And I found some code you wrote 
   `ctx = mx.gpu()
   net.initialize(force_reinit=True, ctx=ctx)
   `
   And in my code,  only 
   `    if args.resume.strip():
           net.load_parameters(args.resume.strip())
           async_net.load_parameters(args.resume.strip())
       else:
           with warnings.catch_warnings(record=True) as w:
               warnings.simplefilter("always")
               net.initialize()
               async_net.initialize()
   `
   I change my code to   net.initialize(force_reinit=True, ctx=ctx), but there is another error  :
   RuntimeError: Parameter 'ssd0_vggatrousextractor0_init_scale' was not initialized on context cpu(0). It was only initialized on [gpu(1)].
   
   Can I get your help ?

----------------------------------------------------------------
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