강의

멘토링

커뮤니티

Inflearn Community Q&A

ioip06073438's profile image
ioip06073438

asked

[PyTorch] Deep Learning Leading to Practical AI - From Basics to Paper Implementation

Stock Price Prediction - Recurrent Neural Network (RNN)

data의 gpu처리 질문

Resolved

Written on

·

228

0

  1. cnn에서는 다음과 같이 dataloader로 부터 얻은 data를 gpu로 변경 했습니다.

    seq, target = data[0].to(device),data[1].to(device),

    하지만 RNN에서는 다음과 같이 cpu로 처리 합니다. 이유가 무엇 인가요??

     

    seq, target = data

 

python머신러닝딥러닝인공신경망pytorch

Answer 1

0

dlbro님의 프로필 이미지
dlbro
Instructor

안녕하세요!

특별한 이유는 없습니다.

GPU 사용하셔도 되요~

 

감사합니다.

ioip06073438's profile image
ioip06073438

asked

Ask a question