GPU parallel computing for machine learning in Python: how to build a parallel computer by Yoshiyasu Takefuji
Author:Yoshiyasu Takefuji
Language: eng
Format: azw3, epub, pdf
Published: 2017-06-16T07:00:00+00:00
keras (machine learning framework)
In order to activate p27 environment (python2.7 environment), run the following source command:
$ source p27/bin/activate
Once p27 is activated, prompt will be (p27).
In order to install keras and tensorflow-gpu, run the following command:
(p27) $ pip install keras tensorflow-gpu
"python -V" command shows python version.
(p27) $ python -V
python 2.7.12
"pip -V" command shows pip version.
(p27) $ pip -V
pip 9.0.1 from /home/takefuji/p27/lib/python2.7/site-packages (python 2.7)
To run mnist_cnn.py, run the following command:
(p27) $ python mnist_cnn.py
Using TensorFlow backend.
x_train shape: (60000, 28, 28, 1)
60000 train samples
10000 test samples
Train on 60000 samples, validate on 10000 samples
Epoch 1/12
...
Test loss: 0.0271579699688
Test accuracy: 0.9911
Download
GPU parallel computing for machine learning in Python: how to build a parallel computer by Yoshiyasu Takefuji.epub
GPU parallel computing for machine learning in Python: how to build a parallel computer by Yoshiyasu Takefuji.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8296)
Test-Driven Development with Java by Alan Mellor(6704)
Data Augmentation with Python by Duc Haba(6608)
Principles of Data Fabric by Sonia Mezzetta(6364)
Learn Blender Simulations the Right Way by Stephen Pearson(6257)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6125)
Hadoop in Practice by Alex Holmes(5958)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5806)
RPA Solution Architect's Handbook by Sachin Sahgal(5523)
Big Data Analysis with Python by Ivan Marin(5351)
The Infinite Retina by Robert Scoble Irena Cronin(5219)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5143)
Pretrain Vision and Large Language Models in Python by Emily Webber(4309)
Infrastructure as Code for Beginners by Russ McKendrick(4072)
Functional Programming in JavaScript by Mantyla Dan(4038)
The Age of Surveillance Capitalism by Shoshana Zuboff(3946)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3786)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3588)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3564)
