Jordan_Campbell:

target = Variable(torch.LongTensor(batch_size).fill_(1))



Hey, what does .fill_(1) do in your target? As far as I’m understanding, the target should have a shape of (batch_size, output_size).