Guijin Ding
Results
3
issues of
Guijin Ding
python 2.7 tensorflow 1.4.0 FLAGS._parse_flags() not support any longer use FLAGS(sys.argv) instead. (call the python object)
1) softmax or log_softmax must have dim parameter, dim=-1 would be OK. (-1 mean the last dimension) 2) criterion (NLLLoss needs 2d as input, so change decoder_output[0] to decoder_output would...