Skip to content
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

请教一下,train的时候为什么epoch设置到100,损失依然很高16.5,不收敛是什么情况? #11

Open
newBiesSun opened this issue Nov 27, 2019 · 7 comments

Comments

@newBiesSun
Copy link

No description provided.

@PengFuqiang
Copy link

请问楼主解决了嘛

@readyFly
Copy link

遇到了同样的问题,请问解决了吗

@shufan007
Copy link

遇到了同样的问题,请问楼主解决了吗?

@shufan007
Copy link

遇到了同样的问题,请问解决了吗

你好,我也遇到了这个问题,这个问题你解决了吗?

@shuoshuo0
Copy link

同样的问题 ,请问解决了吗?

@shufan007
Copy link

同样的问题 ,请问解决了吗?

解决了

code/sqlnet/model/sqlbert.py 这个文件中涉及到的mask填充需要转换成bool类型

	"""
	sel_col_logit = sel_col_logit.masked_fill(sel_col_mask, -1e5) #(123,col)()		
	"""

==>
sel_col_logit = sel_col_logit.masked_fill(sel_col_mask.bool(), -1e5) # (123,col)()

其他地方也类似

@caojiangege
Copy link

这样改完,效果还是没有提升啊

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

No branches or pull requests

6 participants