wujs

Results 3 comments of wujs

I encounter the same issue, @DoodleJZ @tanvidadu Anyone has fixed this problem?

@DoodleJZ, I do not use d_tag and d_char embedding~ I run this code with python 3.6 with pytorch 0.4.0, however, The error is: for residual shape = (packed_len, d_model), however,...

@DoodleJZ Sorry to bother you. As I'm not familiar with PyTorch so much. Now, I just change torch_t.ByteTensor into torch_t.BoolTensor as follows. And now everything is perfect~ def pad_and_rearrange(....): invalid_mask...