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/08/17 19:44:22 UTC

[GitHub] thomelane commented on issue #8497: how to use mxnet mx.io.extract() in cnn model

thomelane commented on issue #8497: how to use mxnet mx.io.extract()  in cnn model
URL: https://github.com/apache/incubator-mxnet/issues/8497#issuecomment-413969902
 
 
   @janejane11 I realise this was an issue for you quite a while ago, but it looks to me like you should indeed be passing arguments to `mx.io.extract`. Checking the docs found [here](https://s3.amazonaws.com/mxnet-prod/docs/R/mxnet-r-reference-manual.pdf) you need to pass the data_iter and the field you're interested in extracting: `mx.io.extract(iter, field)`. But I think `ImageRecordIter` extracts the label for you, so you wouldn't need to extract this manually. And then you could pass `confusionMatrix(pred.label, test.label)` or similar.

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