superzeroT

Results 7 comments of superzeroT

> Can you check which one is 200d, and which one is 100d in `hiddens * sent_probs`? This could help clearify this issue. hiddens is 200d,sent_probs is 100d.

![图片1](https://github.com/LeonYang95/PLELog/assets/50793022/d79be436-625d-4605-9f8e-fb43941b4055)

![图片2](https://github.com/LeonYang95/PLELog/assets/50793022/7a9b32fb-7e64-46d1-9f24-bbc82f09c3ca)

> So it seems fine? > > sent_probs can be regarded as the attention score of the hidden states for each log event in the log sequence. The multiplication between...

Hi @LeonYang95 ,I haven't solved the problem yet.I tried to unify the dimensions but it didn't work.Don't worry about the note I added.Since your code is running successfully,I guess it...

Hi @LeonYang95 ,Can I see the shape of your sent_probs and hiddens values. ![屏幕截图 2023-07-05 222313](https://github.com/LeonYang95/PLELog/assets/50793022/28527e4d-5576-443b-a06a-a865c34e5ff9)

> 我在训练的时候出现了如下错误,不知道如何纠正。 > > 回溯(最近一次调用最后): 文件“/Users/heyingying/PycharmProjects/PLELog/approaches/PLELog.py”,第255行, 损失= plelog.forward(tinst.inputs,tinst.targets) 文件“/Users/heyingying /PycharmProjects/PLELog/approaches/PLELog.py”,第 56 行,前向 tag_logits = self.model(inputs) 文件“/Users/heyingying/opt/anaconda3/envs/pytorch/lib/python3.10/site-packages/ torch/nn/modules/module.py”,第 1194 行,在 _call_impl returnforward_call(*input, **kwargs) 文件“/Users/heyingying/PycharmProjects/PLELog/models/gru.py”,第 71 行,在forward 中 表示=hiddens*sent_probs 运行时错误:张量 a (200)...