Thanks for your sharing. I am trying on replicating your experiment on RCV1. However, I meet some problem with base_model of ohcnn-fast and han. The traceback is as follows.
OHCNN_fast.py", line 45, in forward x = F.avg_pool1d(x, int(x.size(2) / self.n_pool)).view(x_embed.size(0), self.n_pool * self.Co) # (N,n_pool * Co) RuntimeError: invalid argument 2: size '[32 x 10000]' is invalid for input with 352000 elements at /pytorch/torch/lib/TH/THStorage.c:41/HAN.py", line 31, in batch_matmul _s = torch.mm(seq[i], weight) RuntimeError: matrix and matrix expected at /pytorch/torch/lib/THC/generic/THCTensorMathBlas.cu:241
What' more, I am also concerned about the performance of HMCN in Table 2 & 3. What is its experiment configure?
Thanks for your sharing. I am trying on replicating your experiment on RCV1. However, I meet some problem with base_model of ohcnn-fast and han. The traceback is as follows.
OHCNN_fast.py", line 45, in forward x = F.avg_pool1d(x, int(x.size(2) / self.n_pool)).view(x_embed.size(0), self.n_pool * self.Co) # (N,n_pool * Co) RuntimeError: invalid argument 2: size '[32 x 10000]' is invalid for input with 352000 elements at /pytorch/torch/lib/TH/THStorage.c:41
/HAN.py", line 31, in batch_matmul _s = torch.mm(seq[i], weight) RuntimeError: matrix and matrix expected at /pytorch/torch/lib/THC/generic/THCTensorMathBlas.cu:241
What' more, I am also concerned about the performance of HMCN in Table 2 & 3. What is its experiment configure?