W2 UNQ_C8 Error in Training loop

Thank you @yhuang.
The following thread helped with determining the parameters @yhuang was referring to: