-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Illegal division by zero at data/script/ROUGE-1.5.5.pl line 2450 #11
Comments
现在调试好了没 |
没有 |
您好,请问你现在调试好了没有? |
您好,请问将文本和摘要分别放入src和tgt这一步该怎么完成??? |
我也是这样,请问你现在这个问题解决了吗? |
epoch: 1, ppl: 1.006, time: 20976.414, updates: 10000, accuracy: 95.00 |
你好,请问现在解决了吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
log如下:
/mnt/extend_sdb/workspace/superAE/superAE/models/attention.py:32: UserWarning: Implicit dimension choice for softmax has been deprecated. Change the call to include dim=X as an argument.
weights = self.softmax(weights) # batch * time
/mnt/extend_sdb/workspace/superAE/superAE/models/loss.py:190: UserWarning: self and other not broadcastable, but have the same number of elements. Falling back to deprecated pointwise behavior.
num_correct = pred.data.eq(targets.data).masked_select(targets.ne(dict.PAD).data).sum()
/mnt/extend_sdb/workspace/superAE/superAE/models/loss.py:190: UserWarning: self and mask not broadcastable, but have the same number of elements. Falling back to deprecated pointwise behavior.
num_correct = pred.data.eq(targets.data).masked_select(targets.ne(dict.PAD).data).sum()
[======================================== 10000/10000 ================================>] Step: 3s712ms | Tot: 6h2m
epoch: 1, ppl: 1.006, time: 21772.570, updates: 10000, accuracy: 95.07
evaluating after 10000 updates...
/mnt/extend_sdb/workspace/superAE/superAE/models/seq2seq.py:169: UserWarning: Implicit dimension choice for log_softmax has been deprecated. Change the call to include dim=X as an argument.
output = unbottle(self.log_softmax(output))
Illegal division by zero at data/script/ROUGE-1.5.5.pl line 2450........................] Step: 410ms | Tot: 0ms
F_measure: [0.0, 0.0, 0.0] Recall: [0.0, 0.0, 0.0] Precision: [0.0, 0.0, 0.0]
运行环境:
python 3.5 pytorch0.3.1 cuda9.0
The text was updated successfully, but these errors were encountered: