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/06/15 23:04:15 UTC
[GitHub] lanking520 commented on issue #11292: [MXNET-531] CNN Examples for
Scala new APi
lanking520 commented on issue #11292: [MXNET-531] CNN Examples for Scala new APi
URL: https://github.com/apache/incubator-mxnet/pull/11292#issuecomment-397763241
Currently facing the CI problem as shown below:
```
- Example CI - CNN Example *** FAILED ***
java.nio.charset.MalformedInputException: Input length = 1
at java.nio.charset.CoderResult.throwException(CoderResult.java:281)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:339)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
at java.io.InputStreamReader.read(InputStreamReader.java:184)
at java.io.BufferedReader.read1(BufferedReader.java:210)
at java.io.BufferedReader.read(BufferedReader.java:286)
at java.io.Reader.read(Reader.java:140)
at scala.io.BufferedSource.mkString(BufferedSource.scala:96)
at org.apache.mxnet.examples.cnntextclassification.DataHelper$.loadMRDataAndLabels(DataHelper.scala:53)
at org.apache.mxnet.examples.cnntextclassification.DataHelper$.loadMSDataWithWord2vec(DataHelper.scala:166)
...
```
I add a fix on codec to see if we can solve that... Here is the [link](https://stackoverflow.com/questions/13625024/how-to-read-a-text-file-with-mixed-encodings-in-scala-or-java) I found helpful
----------------------------------------------------------------
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