You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在format_batch函数中,只有满足type(batch_e2[0]) is list或者type(batch_e1[0]) is list时才会调用,这种情况只出现在训练表示学习的模型阶段,不会涉及到pg.py代码。可以检查一下是不是错误的更改了config文件,建议参考README的教程运行代码。
在learn_framework.py中,存在函数
这里设置 num_labels=-1
在 pg.py 中的loss函数中存在调用,
这里没有给num_labels进行传参, 于是会进行报错
我进行查找,发现是这里出现了问题
s维度为 128, -1
作者运行时没有该问题吗
The text was updated successfully, but these errors were encountered: