1
$\begingroup$

See this official example example

enter image description here

My enviroment is Windows 10 GTX1080 with Mathematica 11.1.1

It's Ok if I import all training images into memory.

Even in the simple caseNetTrain[net, trainningData] with only several samples.


Seems the problem is about NetEncoder[{"Image", {100, 35}], change the ImageDimensions will reproduce the error. ImageDimensions in NetEncoder should be the same[35,35]?

OK in trained = NetTrain[net, MapAt[Import@# &, trainingData, {All, 1}]]

Bug? enter image description here

$\endgroup$
3
  • $\begingroup$ Could you try this example and see if it works? $\endgroup$ Commented Jun 20, 2017 at 15:11
  • $\begingroup$ @xslittlegrass OK, in this official example... $\endgroup$ Commented Jun 21, 2017 at 4:07
  • $\begingroup$ @xslittlegrass seems a bug. $\endgroup$ Commented Jun 21, 2017 at 15:25

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.