PSSAttention
PSSAttention copied to clipboard
ValueError问题,outputs_info的类型为float32,而内部函数(“ fn”)的结果的类型为float64
之前在杭州AIS2019听过您所做的报告,最近复现了下您的实验TNet模型,出现了以下问题:
WARNING (theano.gof.compilelock): Overriding existing lock by dead process '18676' (I am process '21120')
Traceback (most recent call last):
File "D:/py36/PSSAttention-master/TNet(+AS)/main_total.py", line 208, in outputs_info
in scan nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number 1) has dtype float32, while the result of the inner function (fn
) has dtype float64. This can happen if the inner function of scan results in an upcast or downcast.
这个错误我没有找到解决方法,请问下您清楚出现这种原因的状况吗
Maybe you should check that there is a setting "floatX=float32" in your environment file: ".theanorc".
您好,请问您解决了吗,我一直没找到解决办法,能麻烦您分享一下如何解决的吗,非常感谢。如有打扰,非常抱歉!
不好意思,调试了好久没有解决,放弃了
---原始邮件--- 发件人: "kennard-max"<[email protected]> 发送时间: 2020年12月31日(星期四) 下午3:59 收件人: "DeepLearnXMU/PSSAttention"<[email protected]>; 抄送: "Author"<[email protected]>;"IU"<[email protected]>; 主题: Re: [DeepLearnXMU/PSSAttention] ValueError问题,outputs_info的类型为float32,而内部函数(“ fn”)的结果的类型为float64 (#5)
您好,请问您解决了吗,我一直没找到解决办法,能麻烦您分享一下如何解决的吗,非常感谢。如有打扰,非常抱歉!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
抱歉,邮件刚看见,这个问题我之前问过原作者,最后也没解决,然后就没用过这个模型了
---原始邮件--- 发件人: "kennard-max"<[email protected]> 发送时间: 2020年12月31日(星期四) 下午3:59 收件人: "DeepLearnXMU/PSSAttention"<[email protected]>; 抄送: "Author"<[email protected]>;"IU"<[email protected]>; 主题: Re: [DeepLearnXMU/PSSAttention] ValueError问题,outputs_info的类型为float32,而内部函数(“ fn”)的结果的类型为float64 (#5)
您好,请问您解决了吗,我一直没找到解决办法,能麻烦您分享一下如何解决的吗,非常感谢。如有打扰,非常抱歉!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.