deeplearning4j / deeplearning4j-examples

Deeplearning4j Examples (DL4J, DL4J Spark, DataVec)
http://deeplearning4j.konduit.ai
Other
2.46k stars 1.82k forks source link

RNNEmbedding IllegalStateException #1083

Open akasyuka opened 8 months ago

akasyuka commented 8 months ago

Download Run RNNEmbedding Receive: Exception in thread "main" java.lang.IllegalStateException: Sequence lengths do not match for RnnOutputLayer input and labels:Arrays should be rank 3 with shape [minibatch, size, sequenceLength] - mismatch on dimension 2 (sequence length) - input=[3, 7, 8] vs. label=[3, 4, 8]

How to fix?