Skip to content
This repository has been archived by the owner on Jun 3, 2022. It is now read-only.

关于loss变得异常大的问题 #8

Open
tomtang110 opened this issue Jan 19, 2019 · 11 comments
Open

关于loss变得异常大的问题 #8

tomtang110 opened this issue Jan 19, 2019 · 11 comments

Comments

@tomtang110
Copy link

2019-01-19 17 12 46
loss在某一部分数据变得异常大,最后导致验证集所有分数为0. 请问,是怎么产生的呢?

@pluto-junzeng
Copy link

您好,我也遇到了,这类情况,请问您解决了吗,可以分享下吗

@pluto-junzeng
Copy link

total_loss += loss * len(batch['raw_data'])

@tomtang110
Copy link
Author

tomtang110 commented Mar 27, 2019 via email

@YeDeming
Copy link

我也遇到了这种情况

@fanweifengdw
Copy link

拿全部数据集训练也有这个问题,确定代码没问题??

@tomtang110
Copy link
Author

tomtang110 commented Jun 6, 2019 via email

@sarahyq
Copy link

sarahyq commented Jun 20, 2019

有没有报错的代码吗?我直接用代码报TypeError: Failed to convert object of type <class 'list'> to Tensor. Contents: [32000, 20, Dimension(32)]. Consider casting elements to a supported type.错误

@tomtang110
Copy link
Author

tomtang110 commented Jun 20, 2019 via email

@sarahyq
Copy link

sarahyq commented Jun 20, 2019

换模型吧,QA模型对中文数据集敏感太大。 获取 Outlook for Androidhttps://aka.ms/ghei36

________________________________ From: 曾俊 notifications@github.com Sent: Monday, March 25, 2019 11:01:06 PM To: SeanLee97/QANet_dureader Cc: tomtang110; Author Subject: Re: [SeanLee97/QANet_dureader] 关于loss变得异常大的问题 (#8) 您好,我也遇到了,这类情况,请问您解决了吗,可以分享下吗 ― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub<#8 (comment)>, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AfwcQhhPHWl_cyxYiKoXlDaofMye6gKzks5vaLqCgaJpZM4aJC_z.
有分析出为什么中文不好吗?

@tomtang110
Copy link
Author

tomtang110 commented Jun 20, 2019 via email

@weinixuehao
Copy link

The model can be used for production?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants