3-min-pytorch icon indicating copy to clipboard operation
3-min-pytorch copied to clipboard

3장 96 페이지 코드 오타

Open ysangj opened this issue 5 years ago • 0 comments

test_loss_before = criterion(torch.squeeze(model(x_test)), y_test)

를 다음과 같이 바꿔 줘야 합니다.

test_loss = criterion(model(x_test).squeeze(), y_test)

베타 리더들의 피드백 중 하나였던 이슈입니다. 전체 코드에는 이미 수정이 이미 되있습니다.

ysangj avatar Mar 18 '20 02:03 ysangj