DataLoader 기본적으로 dataloader는 dataset의 data들을 불러들일일 때 Variable을 감싸서 내보낸다. 더보기 TypeError: argument 0 is not a Variable 기본적인 실수였다...모델에 넣을 때 Variable로 항상 감싸주자. from torch.autograd import Variable input = Variable(x) model(input) 더보기 딥러닝 코드짤 때 유용한 라이브러리 정리 모음 잘 정리된 블로그. 파이썬(python) 커맨드 라인 파서(command line parser) 라이브러리http://discreteglissando.com/2014/08/22/argparse-module/ Logging 로거 라이브러리http://ourcstory.tistory.com/97 progress bar 진행률 라이브러리https://github.com/tqdm/tqdm 더보기 이전 1 ··· 3 4 5 6 7 8 9 ··· 12 다음