File size: 6,803 Bytes
e62bc71 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 |
1
00:00:00,420 --> 00:00:00,970
OK.
2
00:00:01,020 --> 00:00:06,500
So in twenty one point one we deal with a t i install and setup.
3
00:00:06,630 --> 00:00:10,060
So let's talk a bit about tensor flows object action.
4
00:00:10,150 --> 00:00:16,380
The TFT API is one of the more mature and relatively easy to use object action frameworks.
5
00:00:16,470 --> 00:00:19,600
Most of them are actually quite finicky and tricky to use.
6
00:00:19,650 --> 00:00:22,560
Typically most other obligation frameworks are finicky.
7
00:00:22,560 --> 00:00:28,140
As I just said and difficult to use and they brick quite easily as I have a lot of moving parts tend
8
00:00:28,430 --> 00:00:33,540
to flows of detection attempts to solve that by creating a framework API that uses tensor flow.
9
00:00:33,540 --> 00:00:34,760
No surprise there.
10
00:00:34,770 --> 00:00:40,240
To create an object detection modules using both our CNN family as well as the SSD family.
11
00:00:41,010 --> 00:00:47,550
So while the TI FOTA Woody API makes it far easier than until the remittance it still has a bit of a
12
00:00:47,550 --> 00:00:50,100
learning curve by the way.
13
00:00:50,100 --> 00:00:54,890
This is actually an output of the tensor flow optimization API with an SSD.
14
00:00:54,990 --> 00:00:55,890
It's quite cool isn't it.
15
00:00:57,180 --> 00:00:59,350
So now let's talk about it install and setup.
16
00:00:59,370 --> 00:01:05,040
Now if you're using the visual machine with this already installed you don't have to go through this.
17
00:01:05,040 --> 00:01:08,600
However it's not that hard to do so I'm just gonna go through it step by step.
18
00:01:08,610 --> 00:01:13,020
I'm not going to do it with you because I really have it installed on my machine and I don't I think
19
00:01:13,020 --> 00:01:14,790
if I try to reinstall it I could mess things up.
20
00:01:15,360 --> 00:01:19,580
But this is how I did it documented everything and it worked perfectly.
21
00:01:19,590 --> 00:01:24,430
So what you do basically activate activated computer visual library.
22
00:01:24,690 --> 00:01:29,670
We're not going to we're not going to install a disk because they can have a lot of clashes with packages
23
00:01:29,700 --> 00:01:34,480
and libraries being you know messy with each other not mixing well.
24
00:01:34,590 --> 00:01:36,470
So let's clone this environment.
25
00:01:36,490 --> 00:01:44,820
So we go into the terminal and go condo create and let's call this TFT we named this environment that
26
00:01:45,070 --> 00:01:49,860
so in future when you want to activate it you just go source activate TFT and it's there.
27
00:01:50,560 --> 00:01:58,200
So anyway copy this line in your terminal and clone your directory your sorry CV environment and then
28
00:01:58,200 --> 00:02:06,070
run this line here suited apt get install put above compiler Python pipe Perl Python Alexa Mel and python.
29
00:02:06,120 --> 00:02:07,400
Okay okay.
30
00:02:07,530 --> 00:02:15,770
Then we do pip install system pip install context lib Jupiter mapped lib and then go back.
31
00:02:15,780 --> 00:02:21,930
So just go back to old man home directory make up for local models and then get clone.
32
00:02:22,110 --> 00:02:26,430
This basically from here from this getup.
33
00:02:26,510 --> 00:02:35,130
Link here fanciful models and go back again to directory and get cloned this as well and now as we go
34
00:02:35,130 --> 00:02:43,350
back here go into this directory cocoa API Python API and end to make this will compile and build some
35
00:02:43,350 --> 00:02:49,050
stuff that you need and basically just copy this line here and then decide comments here so don't actually
36
00:02:49,050 --> 00:02:50,850
run this in a terminal.
37
00:02:50,910 --> 00:02:57,240
So this is where we get the intensify models from so you use w get put above zip and you download this
38
00:02:57,240 --> 00:03:01,720
link here and unzip this file and then you can delete this file afterwards.
39
00:03:01,740 --> 00:03:02,450
It's fine.
40
00:03:02,760 --> 00:03:06,840
And then what you do you get to part that we need to get everything working.
41
00:03:06,840 --> 00:03:12,540
So we defined this part here and then we go to our protection bills and we run the tests and if the
42
00:03:12,540 --> 00:03:19,740
stuff's tests run run successfully by opening this file we will know if this install works correctly.
43
00:03:19,740 --> 00:03:21,410
So go ahead and try it on your own.
44
00:03:21,420 --> 00:03:27,930
See if it works if there's any problems don't hesitate to contact me and all the times things change.
45
00:03:27,960 --> 00:03:29,850
We did the updates.
46
00:03:29,850 --> 00:03:33,660
So maybe just check this link if this isn't work first before you contact me.
47
00:03:33,660 --> 00:03:34,870
See if there's anything here.
48
00:03:34,890 --> 00:03:37,620
Menu maybe a new vision or a new dependency.
49
00:03:37,620 --> 00:03:40,330
You never know.
50
00:03:40,500 --> 00:03:45,190
Running the demo so download the python file in this folder.
51
00:03:45,200 --> 00:03:50,420
I actually do have this file in the in the in my Python the book files here.
52
00:03:50,820 --> 00:03:56,540
However they do work you don't don't run them from there they're actually copy and paste them into this
53
00:03:56,540 --> 00:03:57,310
territory here.
54
00:03:57,660 --> 00:04:02,380
So let me go to our virtual machine and I'll show you exactly where to find us.
55
00:04:02,400 --> 00:04:06,560
Okay so we're back in a virtual machine and directory I want you to go to is.
56
00:04:06,750 --> 00:04:11,940
Remember I told you based on our presentation here I wanted you to go to models models research oblique
57
00:04:11,940 --> 00:04:17,070
detection and put this file here or resources file here that you don't want it.
58
00:04:17,160 --> 00:04:21,720
Oh it's actually stored in your folder as well and your notebooks folder.
59
00:04:22,230 --> 00:04:29,250
But anyhow let's go to the surgery and I'll show you where to put this file since models models research
60
00:04:29,400 --> 00:04:32,620
and object let's type it in that type of it.
61
00:04:34,540 --> 00:04:38,500
Object detection and you'll see it is a notebook somewhere.
62
00:04:39,280 --> 00:04:42,110
This one here that is a file even a run from no one.
63
00:04:42,160 --> 00:04:42,430
Okay.
64
00:04:43,060 --> 00:04:46,540
So in the next chapter we're going to run this file and go to the Detroit tutorial.
|