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 2017/11/18 08:19:15 UTC

[GitHub] javelinjs commented on issue #7878: InferShapeKeyword argument name gt_label_37 not found

javelinjs commented on issue #7878: InferShapeKeyword argument name gt_label_37 not found
URL: https://github.com/apache/incubator-mxnet/issues/7878#issuecomment-345426913
 
 
   Actually for `NDArrayIter` you need to stack the data and labels in one `NDArray`, instead of a list of.
   Passing a list means the network receives multiple inputs & labels, e.g., if you have a network receives 2 images as input and makes a loss between them, you pass a list of size 2.
   
   Pls refer to https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/io.py#L549 for examples. 

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