简体   繁体   English

如何在iMac上使用GPU训练Tensorflow / LSTM / Keras脚本?

[英]How can I use GPU on an iMac to train a Tensorflow / LSTM / Keras script?

As you know Apple uses Radeon on iMac's. 如您所知,Apple在iMac上使用Radeon。 I have been trying to find out a solution to speed up the training process and no luck so far! 我一直在努力寻找解决方案,以加快培训过程,到目前为止没有任何运气!

So can you pros direct me to the right route on this? 那么,您可以在此方面指导我正确的路线吗? I mean can i already use GPU on my iMac without adding any equipments or shall i go and buy some external NVIDIA and Thunderbolt box? 我的意思是我可以在iMac上使用GPU而不添加任何设备吗?还是应该去购买一些外部NVIDIA和Thunderbolt盒?

I am planning to use Tensorflowi keras aand sklearn on my iMac macOS High Sierra. 我计划在我的iMac macOS High Sierra上使用Tensorflowi keras a和sklearn。

Supporting Radeon and OpenCL is an ongoing issue in tensorflow you can check the issue on github there are some workarounds and tensorflow forks that support that. 在Tensorflow中支持Radeon和OpenCL是一个持续存在的问题,您可以在github上检查该问题,有一些解决方法和tensorflow分支支持该问题。

https://github.com/tensorflow/tensorflow/issues/22 https://github.com/tensorflow/tensorflow/issues/22

tf-coriander (tensorflow 1.11 modified) support macOS AMD GPUS! TF- 香菜 (tensorflow 1.11修改)支持macOS AMD GPUS! Proven on my MBP2017 AMD Radeon 560 在我的MBP2017 AMD Radeon 560上得到证明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM