﻿1
00:00:00,870 --> 00:00:05,880
‫So now let's start building an image classifiet in Python.

2
00:00:07,600 --> 00:00:12,850
‫But before that, we need to install and import tensor flow and keras,

3
00:00:13,920 --> 00:00:18,430
‫Then we will import the dataset that we are going to use for this image classifier.

4
00:00:19,320 --> 00:00:21,450
‫And then we will normalize our data.

5
00:00:22,110 --> 00:00:27,060
‫And after that, we will start creating neural network with keras.

6
00:00:28,870 --> 00:00:31,900
‫First, we are importing some basic libraries.

7
00:00:32,020 --> 00:00:32,950
‫We are importing numpy.

8
00:00:33,520 --> 00:00:43,060
‫We are importing pandas and we are importing matplot to visualise our image data set. Now before importing

9
00:00:43,060 --> 00:00:43,810
‫tensorflow.

10
00:00:44,380 --> 00:00:45,790
‫You need to install it.

11
00:00:47,850 --> 00:00:51,090
‫To install, you have to go to your command prompt.

12
00:00:51,960 --> 00:00:56,640
‫So first press windows R it will open the dialog box.

13
00:00:57,240 --> 00:01:05,610
‫Then you have to write cmd , cmd stands for command prompt and then  click on OK.

14
00:01:08,100 --> 00:01:09,160
‫Here, write

15
00:01:09,390 --> 00:01:14,760
‫Conda install tensflow

16
00:01:22,180 --> 00:01:23,740
‫Then press enter.

17
00:01:27,600 --> 00:01:29,060
‫It may take some time.

18
00:01:31,620 --> 00:01:34,930
‫In my system, the tensorflow is already installed.

19
00:01:36,140 --> 00:01:40,780
‫Then we need to upgrade the tense flow version to 2.0.

20
00:01:42,130 --> 00:01:46,210
‫Since we will be using tensorflow  2.0 for this course.

21
00:01:47,800 --> 00:01:51,200
‫To upgrade it, you have to write this statement.

22
00:01:51,520 --> 00:01:58,210
‫Pip space install, then upgrade tensorflow equal to two point zero.

23
00:01:59,980 --> 00:02:01,130
‫So download

24
00:02:01,210 --> 00:02:05,570
‫This jupyter note book, copy this command and run it in your

25
00:02:05,620 --> 00:02:06,370
‫Command prompt.

26
00:02:08,110 --> 00:02:12,130
‫If you are facing any error, then you first have to install the PIP.

27
00:02:12,700 --> 00:02:14,920
‫You can use this command to install PIP.

28
00:02:16,390 --> 00:02:22,060
‫And if you're still facing some error, then you have to correct your environment variables.

29
00:02:23,700 --> 00:02:24,720
‫You'll find a separate.

30
00:02:24,750 --> 00:02:31,470
‫Video about how to setup your environment variables in the appendix section of this course.

31
00:02:32,970 --> 00:02:40,860
‫So remember, first, run this command conda install tensflow, then install Pip and then run

32
00:02:40,860 --> 00:02:45,090
‫this command to upgrade your of flow to 2.0 plus version.

33
00:02:48,180 --> 00:02:51,630
‫Now, if you have successfully installed tensorflow

34
00:02:52,950 --> 00:02:54,870
‫We need to import it.

35
00:02:55,590 --> 00:03:01,590
‫We're importing tens of flow as tf and we're also importing keras from and tensorflow

36
00:03:07,050 --> 00:03:11,940
‫Now you can check the version of your installed tensorflow using this command.

37
00:03:12,450 --> 00:03:18,460
‫So for keras, you can write keras dot double underscore version.

38
00:03:18,620 --> 00:03:19,560
‫Double underscore.

39
00:03:21,000 --> 00:03:22,020
‫Just run this.

40
00:03:23,090 --> 00:03:28,340
‫And you can find that the keras that is installed in my system is two point two point four.

41
00:03:30,660 --> 00:03:32,670
‫To check the version of tensorflow.

42
00:03:33,360 --> 00:03:34,940
‫We can call the same attribute.

43
00:03:35,520 --> 00:03:39,750
‫So tf.  double underscore version double under score.

44
00:03:42,740 --> 00:03:46,680
‫You can see that the version is two point zero point zero.

45
00:03:47,600 --> 00:03:53,960
‫So just make sure that the installed version on your P.C. is greater than 2.0.

46
00:03:55,250 --> 00:04:03,030
‫In the next video, we will import the dataset that we are going to use for our first classification

47
00:04:03,120 --> 00:04:03,690
‫example.

