- Setting the ExecutionEnvironment option to predict and classify or the ExecutionEnvironment input to trainingOptions.
- Lowering the MiniBatchSize option to predict and classify or the MiniBatchSize input to trainingOptions. This will decrease the load on your GPU memory.
Is it possible to use both CPU and GPU to train convolution neural network (CNN)?
6 ビュー (過去 30 日間)
古いコメントを表示
Hello, I have designed a CNN with 25 layers for medical image classification. The dataset consists of 10000 images of size 227X227X3. The PC has 8GB RAM and GPU (2GB). I am facing out of memory problem for the designed network but it works well for smaller networks. Is is possible to use CPU and GPU in parallel to solve the memory issue? Kindly suggest to solve the problem. I am using MATLAB version 2017b. Thank you
0 件のコメント
回答 (1 件)
Joss Knight
2018 年 6 月 11 日
Yes it is. Are you averse to reading documentation? If not, try:
4 件のコメント
sotiraw sotiroglou
2020 年 7 月 12 日
the question seems clear, both in title and in context. Next time please take a minute to actually read it before you try to insult with your answers . this way you will also avoid embarass yourself by not understanding what people asks
Joss Knight
2020 年 7 月 13 日
Well it wasn't clear to me and unless you are the original poster I suggest you not put words into their mouth. I certainly did not intend any offence, but I would happily apologise to the original poster if I was careless with my words.
参考
カテゴリ
Help Center および File Exchange で Image Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!