| 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. | |