that solved that issue, thanks once again.
Here for another error, i know what’s making the following error,
RuntimeError: input and target have different number of elements: input[64 x 19] has 1216 elements, while target[64] has 64 elements at /opt/conda/conda-bld/pytorch_1503965122592/work/torch/lib/THNN/generic/MSECriterion.c:12

this helped me find the problem, my outputs is of size 64x19, while my labels is of size 64, i know my declaration has the mistake, can you help me find where that mistake is? So that outputs is of size 64.
The code is right on top. Thanks in advance!