wb14123/seq2seq-couplet

在训练的时候出现了这个错误,Found Inf or NaN global norm,哪个大牛帮忙看一下怎么破?

Open

#25 opened on Jan 24, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (5,477 stars) (1,072 forks)batch import
help wantedquestion

Description

InvalidArgumentError (see above for traceback): Found Inf or NaN global norm. : Tensor had Inf values [[node VerifyFinite/CheckNumerics (defined at C:\Users\xxx\seq2seq-couplet-master1\model.py:79) = CheckNumericsT=DT_FLOAT, message="Found Inf or NaN global norm.", _device="/job:localhost/replica:0/task:0/device:GPU:0"]]

Contributor guide