You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
We create a DataBatch without setting the providedLabel field. We then call BucketingModule.forward(...) with the data batch and get a NullPointerException:
java.lang.NullPointerException was thrown.
java.lang.NullPointerException
at ml.dmlc.mxnet.DataDesc$.ListMap2Descs(IO.scala:252)
at ml.dmlc.mxnet.module.BucketingModule.forward(BucketingModule.scala:313)
This happens because the implicit method ListMap2Descs tries to convert ListMap[String, Shape] into IndexedSeq[DataDesc] but fails because the former is null by default.
Package: Scala
Mxnet Version: 1.1.0
Java Version: openjdk 1.8.0_131
Maven Version: [unused]
Scala Runtime: 2.12.4
We create a DataBatch without setting the
providedLabelfield. We then callBucketingModule.forward(...)with the data batch and get a NullPointerException:This happens because the implicit method
ListMap2Descstries to convertListMap[String, Shape]intoIndexedSeq[DataDesc]but fails because the former is null by default.