GMAN icon indicating copy to clipboard operation
GMAN copied to clipboard

去除transformAttention评估模型时,是怎么处理维度不匹配的问题的?

Open shuqincao opened this issue 4 years ago • 6 comments

为了研究模型中各部分的影响,作者去除了transformAttention部分来评估模型性能,如果直接将此部分的代码注释,在执行decoder部分的spatialAttention的 X = tf.concat((X, STE), axis = -1)这一行代码会报维度不匹配错误,所以想请教作者在去除transformAttention模块来评估模型的性能时,是如何处理维度的

shuqincao avatar Aug 12 '20 13:08 shuqincao

您好,我想请教一下 作者原始的这个代码是如何跑通的?我在utils的73,74行 timeofday = (Time.hour * 3600 + Time.minute * 60 + Time.second) // Time.freq.delta.total_seconds() 这部分会报错 跪求指点😭

EmlynQuan avatar Oct 05 '20 03:10 EmlynQuan

您好,我想请教一下 作者原始的这个代码是如何跑通的?我在utils的73,74行 timeofday = (Time.hour * 3600 + Time.minute * 60 + Time.second) // Time.freq.delta.total_seconds() 这部分会报错 跪求指点😭

分母改成3600*24试试

flowingrain avatar Nov 26 '20 15:11 flowingrain

您好,我想请教下 作者代码的而两个文件在那个位置啊 /data/pems-bay.h5 /data/GMAN.pkl

bingkuaibaoer avatar Apr 08 '21 14:04 bingkuaibaoer

Dcrnn论文里面找

发自我的 iPhone

在 2021年4月8日,22:09,bingkuaibaoer @.***> 写道:

您好,我想请教下 作者代码的而两个文件在那个位置啊 /data/pems-bay.h5 /data/GMAN.pkl

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

shuqincao avatar Apr 08 '21 16:04 shuqincao

可是我只找到了pems这个文件,GMAN这个文件是自己处理得到的吗?感谢您的回复呀!

------------------ 原始邮件 ------------------ 发件人: "zhengchuanpan/GMAN" @.>; 发送时间: 2021年4月9日(星期五) 凌晨0:18 @.>; @.@.>; 主题: Re: [zhengchuanpan/GMAN] 去除transformAttention评估模型时,是怎么处理维度不匹配的问题的? (#16)

Dcrnn论文里面找

发自我的 iPhone

> 在 2021年4月8日,22:09,bingkuaibaoer @.***> 写道: > > 您好,我想请教下 作者代码的而两个文件在那个位置啊 /data/pems-bay.h5 /data/GMAN.pkl > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub, or unsubscribe.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

bingkuaibaoer avatar Apr 09 '21 02:04 bingkuaibaoer

timeofday = (Time.hour * 3600 + Time.minute * 60 + Time.second)
// Time.freq.delta.total_seconds() 这一行同样会报错,求大神们指点!拜托了!!

BeverlyZ avatar Mar 07 '22 02:03 BeverlyZ