BEbillionaireUSD/Hades

Have a problem in reading log_model.py

Closed this issue · 1 comments

In the method forward() of Class LogEncoder:
if self.self_attention: log_re[:, w, :] = self.attn(seq_re) else: log_re[:, w, :] = seq_re[:, -1, :] log_re[:, w, :] = seq_re[:, -1, :]

will the last codeline overwrite the code above make them meaningless?

Yes. It's a typo. I've corrected it. Thanks for pointing it out.