Hands-On Deep Learning for Images with TensorFlow



Download 5,72 Mb.
Pdf ko'rish
bet7/32
Sana22.12.2022
Hajmi5,72 Mb.
#893820
1   2   3   4   5   6   7   8   9   10   ...   32
Bog'liq
Hands On Deep Learning for Images

Installing Docker
We'll need to download Docker to get it installed, and in this section, you'll see how we
install Docker on Windows and use a script that's suitable for installation on Linux.


Machine Learning Toolkit
Chapter 1
[ 6 ]
Let's install Docker from 
https:/

/

www.

docker.

com/

. The quickest way to get this done is to
head up to the menu. Here, we'll choose to download the version for Windows. Give it a
click, which will take you right over to the Docker store, where you can download the
specific installer for your platform, as shown in the following screenshot:
Docker installer window
All the platforms are available here. We'll just download the MSI for Windows. It
downloads relatively quickly, and once it's on your PC, you can just click the MSI installer
and it will quickly continue.
Installing on Ubuntu is best done with a script. So, I've provided a sample installation script
(
install-docker.sh
) that will update your local package manager pointing to the official
Docker distribution repositories, and then simply use apps to get the installation
completed.


Machine Learning Toolkit
Chapter 1
[ 7 ]
Getting Docker installed on Linux is pretty straightforward: you just run the 
install-
docker
shell script I've provided. The packages will update, download, and then install.
When you get to the end of it, you just have to type 
docker --help
to make sure that
everything is installed:
Output—docker --help command 
Now, for GPU support, which will make your Keras and TensorFlow models run faster,
there is a special version called 
nvidia-docker
, which exposes devices on Ubuntu to your
Docker containers to allow GPU acceleration. There's an install script for this as well
(
install-nvidia-docker.sh
). Now, assuming that you do have an actual NVIDIA
graphics card, you can use NVIDIA Docker in place of Docker.


Machine Learning Toolkit
Chapter 1
[ 8 ]
Here, we're running a test command that uses the NVIDIA SMI, which is really the status
program that shows you the GPU status on your machine:
GPU status
And you can see, our TITAN X is fully exposed to Docker. Getting Docker installed is a
relatively easy operation.


Machine Learning Toolkit
Chapter 1
[ 9 ]
In the next section, we're going to take a look at authoring a Docker file to set up a complete
machine learning environment.

Download 5,72 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10   ...   32




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish