필터 지우기
필터 지우기

Matlab 2018b GPU Training

조회 수: 1 (최근 30일)
Eduardo Gaona Peña
Eduardo Gaona Peña 2018년 11월 6일
편집: Eduardo Gaona Peña 2018년 11월 8일
Till now I have been training an LSTM network using the 2018a version of Matlab and didnt have a problem using my GPU as training device. However, since I needed to change the activation functions of my LSTM layers I updated Matlab and now when I try to use my GPU it trains the network way slower than using the CPU, which doesnt make sense. For some reasong Matlab is not using my gpu's memory. Any ideas how to solve this?

채택된 답변

Joss Knight
Joss Knight 2018년 11월 7일
편집: Joss Knight 2018년 11월 7일
Do you mean you switched to using hard-sigmoid or softsign activations? This is supported in 18b, but is a non-optimized version since it isn't supported by cuDNN, and is indeed much slower. I would recommend using the default activations for performance, if you can make it work.
  댓글 수: 1
Eduardo Gaona Peña
Eduardo Gaona Peña 2018년 11월 8일
편집: Eduardo Gaona Peña 2018년 11월 8일
ahhhh ok ok. I was wondering why my CPU was doing it faster than my GPU. Sadly I have to use these activations functions as I want to implement the network in a drive and due to the limitations a hard-sigmoid is easier to calculate than an exponential. Luckly I only need about 1000 epochs. Thanks for the information anyway :D !

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by