File "../senteval/tools/relatedness.py", line 110, in trainepoch
idx = torch.cuda.LongTensor(permutation[i:i + self.batch_size])
RuntimeError: tried to construct a tensor from a int sequence, but found an item of type numpy.int64 at index (0)
converted numpy arrary to python list seemed working
File "../senteval/tools/relatedness.py", line 110, in trainepoch idx = torch.cuda.LongTensor(permutation[i:i + self.batch_size]) RuntimeError: tried to construct a tensor from a int sequence, but found an item of type numpy.int64 at index (0)
converted numpy arrary to python list seemed working
idx = torch.cuda.LongTensor(permutation[i:i + self.batch_size].tolist())