YunNaYoung
Results
1
issues of
YunNaYoung
``` def sort_by_sequence_length(self, x, y, seq_len): sorted_idx = np.argsort(np.array(seq_len))[::-1] x = Variable(torch.LongTensor(np.array(x)[sorted_idx])) y = Variable(torch.LongTensor(np.array(y)[sorted_idx])) seq_len = Variable(torch.LongTensor(np.array(seq_len)[sorted_idx])) ``` 함수에서 자꾸 아래와 같은 에러가 나는데.. TypeError: can't convert np.ndarray of...