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 2018/05/17 08:27:32 UTC

[GitHub] cvtower commented on issue #10899: ctypes.c_int(ctx.device_id) TypeError: an integer is required

cvtower commented on issue #10899: ctypes.c_int(ctx.device_id)     TypeError: an integer is required
URL: https://github.com/apache/incubator-mxnet/issues/10899#issuecomment-389787060
 
 
   @wkcn 
   1. args in deploy/face_embedding.py:
           ++print('args:')
           ++print(args)
   args:
   Namespace(det=2, flip=0, gpu=0, image_size='112,112', model='../models/model-r34-amf/model,0', threshold=1.24)
   
   2. vim /usr/local/lib/python2.7/dist-packages/mxnet/symbol/symbol.py   +1475
           ++print('ctx.device_id:')
           ++print(ctx.device_id)
   printed output:
   ctx.device_id:
   Namespace(det=2, flip=0, gpu=0, image_size='112,112', model='../models/model-r34-amf/model,0', threshold=1.24)
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services