Tap to unmute

Build a Deep CNN Image Classifier with ANY Images

  Рет қаралды 650,692

Nicholas Renotte

Nicholas Renotte

Күн бұрын

Пікірлер
@Jey187
@Jey187 6 ай бұрын
For those that are frustrated by the first line of code not working, just remove the "tensorflow-gpu" part and run the code. You may want to skip the GPU setup part cause it won't work anyway. The algorithm will work, except slower (mine is 656 ms which takes me less than 1 minute to go through the entire epoch of 20)
@bytes134
@bytes134 3 ай бұрын
hey, do i only remove tensorflow-gpu or the tensorflow too? because tensorflow is not working on jupyter notebook
@Jey187
@Jey187 3 ай бұрын
@@bytes134 I think tensorflow should be working. You only have to remove the GPU one
@nicholashendricks9762
@nicholashendricks9762 2 ай бұрын
You have to know how to get the stack/drivers setup for your GPU disabling GPU support is a horrible idea seeing as that's what all modern modes are literally optimized to run on. Wether you have an AMD card and need to setup rocm or just simple nvida and cuda setup.
@elbayar5188
@elbayar5188 Ай бұрын
thank you
@pradyumnanr3680
@pradyumnanr3680 15 күн бұрын
tensorflow-gpu needn't be installed for TensorFlow 2.x or higher. The GPU support is built into the main tensorflow package. If your system has has a compatible GPU and the necessary drivers (NVIDIA GPU driver, CUDA Toolkit, cuDNN Library) installed, TensorFlow will automatically detect and use the GPU
@venomlovekitties
@venomlovekitties Жыл бұрын
As a non coder person I instantly subscribed because of the simplicity you showed by your teaching skills. Thanks man, love to see more content from you.
@CantPickTheNameIwant
@CantPickTheNameIwant Жыл бұрын
as a CV engineer, I instantly hit the dislike button under this video
@mihai3678
@mihai3678 Жыл бұрын
@@CantPickTheNameIwant that’s what I wanted to say 😂😂big source of misinformations on this channel, specifically in this video
@daryladhityahenry
@daryladhityahenry Жыл бұрын
@@mihai3678 Can you tell which one is misinformation and how should it be? So I can know which one that I should look for... THank you....
@akikabanu5885
@akikabanu5885 Жыл бұрын
@@mihai3678 how come? do you think you could explain?
@muhammaduseram9405
@muhammaduseram9405 10 ай бұрын
@@CantPickTheNameIwant at least you should clear your point if you said it
@marti-nz
@marti-nz 2 жыл бұрын
This tutorial is amazing, not only are instructions easy to follow but sufficient explanation is provided so I know why each line of code was added. Great Job!
@AlvaroPerezLuque
@AlvaroPerezLuque Жыл бұрын
Hi Nicholas, the tutorial is fantastic. There is a small bug in the code. The data object is always shuffling the data so there is no difference between training and validation data. To fix this bug it is necessary to change these lines: 1. Edit the line data = tf.keras.utils.image_dataset_from_directory('data'). It should be: data = tf.keras.utils.image_dataset_from_directory('data', shuffle=False,) 2. After this line add the following: data = data.shuffle(1000, seed=100, reshuffle_each_iteration=False) Without this correction the val_accuracy will always be 1 as there is the same data. (The problem arises when calling the take method because the data is reshuffled.)
@jamesmccannon7769
@jamesmccannon7769 Жыл бұрын
Are you sure that this is correct? When testing this although this is stopping the accuracy becoming 100%, it's validation accuracey is 1.00 from the start??
@j220493
@j220493 Жыл бұрын
There is another bug even bigger than that, he is doing data leakage. When he download the images from google, there are a lot of them duplicated or triplicated, so when he splits the data, same image is in all three divisions (train, val and test), for sure, so is its requeried to purge the data before all the process.
@KarrsonHeumann
@KarrsonHeumann Жыл бұрын
I really love these longer tutorials. You explained things so well in this one that I feel like AI development finally clicked for me, not just in terms of this specific application, but also in general. I would understand if you'd be worried about length vs entertainment, but honestly you teach so well and you are so enthusiastic I don't think that should even be a concern. Thank you so much! :)
@lemon_and_berry
@lemon_and_berry 8 ай бұрын
Agreed !! Waiting for such vids
@atharvmunot8305
@atharvmunot8305 8 ай бұрын
Thank you so much for this Tutorial!! IT IS THE BEST !! P.S. A side note for the recent viewer, while compiling the model, use the command: model.compile('adam', loss = tf.losses.sparse_categorical_crossentropy, metrics = ['accuracy']) This change caters to the recent change in the naming conventions and ensures that the saved .h5 model runs when loaded
@donguyengiac5046
@donguyengiac5046 8 ай бұрын
OMG you're a lifesaver!
@Sneha-e7d
@Sneha-e7d 5 ай бұрын
@atharvmunot8305 hey!! Can you help me with installation.. actually I am having problem while installing the tensorflow gpu , its saying python version is not compatible , do you know any other way of installing that without degrading the python version.
@hugehammer
@hugehammer 8 ай бұрын
Wow! It was awesome. I built my first CNN architecture with the help of this video.
@rhudinaormasa1962
@rhudinaormasa1962 4 ай бұрын
What environment did you use, vscode jupyter or Google colab or just jupyter?
@TheSakyoGamer
@TheSakyoGamer 2 жыл бұрын
This. Was. AMAZING! Oh my gosh. Thank you for such for this tutorial. I've been wanting to get into machine learning for so long, but never knew where to start or how to work these models. With how long this video was and how excellent your commentary was, it helped so much! I plan to watch a ton of your videos about creating some more models.
@salvinprasad8592
@salvinprasad8592 2 жыл бұрын
Absolutely brilliant. I will use this structural approach in my third paper for my PhD. Thanks so much
@pedrobizzotto556
@pedrobizzotto556 Жыл бұрын
Its rare to see someone explain in detail every step of the way! Great tutorial!
@andybrice2711
@andybrice2711 8 ай бұрын
But not _too_ much detail. It's a good balance of theory and practice.
@anoushkachatterjee2922
@anoushkachatterjee2922 Ай бұрын
​@@andybrice2711 i am pretty much new to ml, i have an assignment on classifying images of equipments into defective and non defective. will i be able to do that if i follow this video?
@andybrice2711
@andybrice2711 Ай бұрын
​@@anoushkachatterjee2922 I don't think you need to follow this process if you just want to classify your own images. This video gets into the low-level details of building your own model from scratch. Probably what you would want to do is start with a pre-trained model (perhaps wrapped in a nice developer-friendly API) and then "fine tune" it. There might be something in OpenCV or YOLO. My advice would be to ask ChatGPT for recommendations.
@dimasalangxt3482
@dimasalangxt3482 2 жыл бұрын
Amazing job on these videos! Would love to see a tutorial featuring 9 or more classes, thanks!
@leonp5281
@leonp5281 2 жыл бұрын
I second that!!
@qualitycontrol716
@qualitycontrol716 2 жыл бұрын
please Nicholas
@danielleivy8180
@danielleivy8180 Жыл бұрын
??? I just kept adding classes, when it hits 9 it just moves onto 10....
@poisonedexistence3027
@poisonedexistence3027 Жыл бұрын
Yes, Nicholas please! multiclass tutorial from you is needed=) Thank you
@no-name168
@no-name168 Ай бұрын
39:46 awfully great moment. you watch some tutorial on youtube, you expect everything to be fine and then something like this happens, like it's not scripted anymore, watching him solving acutal problem. it's like 4th wall or something, love it
@adowanshahriar3623
@adowanshahriar3623 2 жыл бұрын
This tutorial is live savior. Recently I am doing my thesis on medical image processing and this video is an absolute guideline. Thanks a ton Nicholas :3
@samarth2915
@samarth2915 Жыл бұрын
yess !!! do u have any idea what changes should be done in the NN foro multi classes ??
@priyam66
@priyam66 Жыл бұрын
@@samarth2915 for multiclass classification, following changes need to be made. 1) the activation function for the output layer in ANN will be Softmax 2) The loss function would be Categorical CrossEntropy(). 3) if you use this shown method of the data pipeline, then you will have to create multiple subfolders for each class in the multi-class classification problem.
@edushineicscschool
@edushineicscschool 5 ай бұрын
Can I get your number or mail id I'm also doing similar research in medical I need some clarification
@binalweerasena753
@binalweerasena753 Жыл бұрын
Now you don't need to pip install tensorflow-gpu. GPU features are already inside tensorflow main library. Trying to install tensorflow-gpu got me an error which ate up my time. Thanks Renotte for this amazing videos. You truly inspire us, the newbies.goodvibes
@afkhoso
@afkhoso Жыл бұрын
thanks! had the same issue! comments and conversations like this help others very much!
@TadiwanasheNyamapfene
@TadiwanasheNyamapfene 5 ай бұрын
Thanks for commenting. I ran into the same error
@prasadcode58
@prasadcode58 3 ай бұрын
Whatever I learned in theory, now learned in practical just because of you, it's really fun and put lots of efforts to make us understand in easier terms, thanks a lot. ✨
@mohamedgaal5340
@mohamedgaal5340 9 ай бұрын
Thanks a lot Nick! I like how you skim through the mathematical concepts behind your code. Very informative! I'm watching the whole playlist :)
@m1hz665
@m1hz665 21 күн бұрын
Great tutorial bro , i had some theorical knowledge about CNN , and now for the fitst time you made me create for the first time a CNN model step by step , thank you so much , appreciate it bro , keep it up ❤💥
@vigneshm4916
@vigneshm4916 2 жыл бұрын
Great Tutorial! As you said a tutorial on callbacks would be great. Thanks Nicholas!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Yeah, wish I spent some more time on it in this vid. You got it @Vignesh!
2 жыл бұрын
Hello Nick, thank you for this awesome tutorial, I learned a lot. I was wondering if you published another tutorial with more classes involved? (at 13:01) Thanks
@twopolaar599
@twopolaar599 Жыл бұрын
I just finished my model on classifying images of cats and dogs, and Im shocked at how accurate it is! The feeling of finally finishing it SO good, I finally feel accomplished.
@malhargirgaonkar1668
@malhargirgaonkar1668 Жыл бұрын
Can it work to classify image in more than 1 category? I have 11 categories
@twopolaar599
@twopolaar599 Жыл бұрын
@@malhargirgaonkar1668 Yeah, but im pretty sure you got to adjust some of the code. For examples, you cant do anything with binary classification if you have more than two categories. I recommend trying to do it with two categories first, then add more categories later once you have finished
@RashmiBajaj-mf3el
@RashmiBajaj-mf3el Жыл бұрын
Hi, I implemented the code just as you. But at the end, it is not predicting happy and sad correctly. You only checked for one image. Even your code wouldn't work ig, I do not know what is the error, but you should correct it as well! Please le me know if you resolve it and how.
@SoulFrmTitanic
@SoulFrmTitanic 9 ай бұрын
No, it is completely correct and it worked for me!
@Aditya-ms1ll
@Aditya-ms1ll 4 ай бұрын
more epochs would work for you , or try changing optimizer and find suitable one asper you
@arnabghosh5547
@arnabghosh5547 2 жыл бұрын
Nich, would please also make theory explaining CNN, object detection, their metrics & hyperparameter tuing
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Ohhhh man, theory isn't really my fav but I'll see what I can do!
@m.rishab4770
@m.rishab4770 6 ай бұрын
​@@NicholasRenotte can You please make video on how to do it for multiple classes ?
@dadadavid1409
@dadadavid1409 2 ай бұрын
Yeah, please
@sourabhchandra1740
@sourabhchandra1740 Жыл бұрын
Woow 😲 😁😄... Just amazing 😍.. what a video and superb explanation... Your explanation is top notch 😉... Got full idea on how to approach a machine learning project and confidence too!! Can you please make a separate video on "how to decide the architecture of a deep neural network" ?? That would be very helpful
@talhasadaqat3742
@talhasadaqat3742 Жыл бұрын
can you please let me know how you setup the environment , like how to install jupyter , and get the new file called image classification so that all the commands run perfectly without any errors
@alextotheroh8071
@alextotheroh8071 Жыл бұрын
This is truly a fantastic tutorial. I had a working model in just a few hours. I didn't realize it could be done that quickly! Thank you!
@FahadRashid1100
@FahadRashid1100 5 ай бұрын
That weird colouring at 1:17:19 is because cv2 is expecting `uint8` and we're giving it `int`... so yeah... this works too but just saying... it was bugging me lol... Other than that, AMAZING tutorial! Life saver!
@Christian-dd2qm
@Christian-dd2qm 2 жыл бұрын
Great content and I love that you speak proper English! I am not a native speaker and had my fill of Australian and Indian accents.
@eddyateye810
@eddyateye810 Жыл бұрын
I've learned more in 30mins than in my image processing class
@felixzepol
@felixzepol Жыл бұрын
Amazing explanation, Im using this for thesis project, I'll let you know how well it went 👍
@Gordonias
@Gordonias 2 жыл бұрын
Would love to see some more stuff on deep reinforcement learning! :)
@ubaidabbas8175
@ubaidabbas8175 7 ай бұрын
This was an amazing tut for a beginner like me. Thank you man... Great Explaination and Great Visualisation. Each part of your code was explained perfectly.
@mahendrakergaurav5867
@mahendrakergaurav5867 2 жыл бұрын
Amazing Tutorial, highly underrated channel, will share this with my friends.
@sanjayravi8181
@sanjayravi8181 Жыл бұрын
Hi Nick, You are right you were dividing the data twice by 255 so it came out to be 0.0039. (1/255 = 0.0039). Thanks for the video. Happy learning!.
@leonp5281
@leonp5281 2 жыл бұрын
I would love to use more than 2 classes as you mentioned on 12:55. What do we need to change on the code ? Any possibility for an updated .ipynb file if you don't want to create another tutorial? Thank you so much for the great guides!!
@pranavtiwari_yt
@pranavtiwari_yt Жыл бұрын
have you figured out? plz tell if yes
@marekkamm1524
@marekkamm1524 Жыл бұрын
pls tell me too :) @@pranavtiwari_yt
@RoccoEduxD2
@RoccoEduxD2 3 ай бұрын
we need to see how to work with ore than 2 classes.
@gaurav_0369
@gaurav_0369 Жыл бұрын
it's good seeing a professional programmer debug a code and keep getting stuck...... feels relatable
@Alice8000
@Alice8000 Жыл бұрын
Wow, I didn’t know Neon did programming videos too. You’re really smart. Clap 👏
@yosephawoke9584
@yosephawoke9584 Жыл бұрын
As a student who is working on an image classification project, I learn a lot here and it was a very nice and interactive explantation. Thank You Nick!
@_leonard_6173
@_leonard_6173 4 ай бұрын
45:50 - I am confused. What do you mean by "shuffle" ? I have the data just like yours : Data folder containing a folder for each class. Also another question that I have is : if my Data folder contains class A (50% of parent folder), class B (50% of parent folder), and I make the training set 70% of the data folder just like your code does, will it be 70% of each child folder or 70% of the entire Data folder?
@charanb1781
@charanb1781 4 ай бұрын
Amazing tutorial !! Just diving into deep learning and your example came in handy.
@FandangoJepZ
@FandangoJepZ 2 жыл бұрын
would really appreciate one with more classes! Trying to make an AI for SET
@maximeentsi2205
@maximeentsi2205 2 жыл бұрын
Best CNN tutorial I've never seen
@prabanjan.a1750
@prabanjan.a1750 6 ай бұрын
What CNN type is used here ?
@astrodeeptej
@astrodeeptej 9 ай бұрын
for the deleting images less than 10KB 16:37 use this script instead. import os, os.path for root, _, files in os.walk(os.path.join(data_dir, 'sad')): # replace sad with happy for happy for f in files: fullpath = os.path.join(root, f) if os.path.getsize(fullpath) < 10 * 1024: # set file size in kb print(fullpath) os.remove(fullpath)
@eru3890
@eru3890 2 жыл бұрын
I love your videos, keep it up! I would like for you to make a video explaining about how to handle false positives with objects we don't want to detect.
@sanjanatarekar5942
@sanjanatarekar5942 Жыл бұрын
Wow!! This is the best tutorial. Thank you for making this. Please do 1 with multi classes classification, regularization, dropouts, normalization(basically tuning parameters) and confusion matric.😃
@lubwamaemmanuel7743
@lubwamaemmanuel7743 9 ай бұрын
Hey Nicholas, that is an amzing tutorial, i really learnt tonnes to take me to my next learning of ML. Thanks so much.💯
@eatonasher3398
@eatonasher3398 Жыл бұрын
@46:00 Where is the "shuffle" function called? Wouldn't it shuffle each time you take a partition? If so, what good does skipping the first partitions do?
@rmarti5163
@rmarti5163 8 ай бұрын
@1:06:00 I guess I still don't understand how the training is working. How does it know if it is correct or not? what is the data loss? is it the data that doesn't actually show a happy or sad human face?
@lancemarchetti8673
@lancemarchetti8673 Жыл бұрын
Nice! Imagine if we could build a classifier that can spot Base64 in a screen capture and extract it accordingly. In digital Forensics this could be quite handy in cases where base encoding is used to hide particular image data.
@bratutub3
@bratutub3 2 жыл бұрын
Your detailed explanation has led me to a better understanding of the matter... Thank you...
@interlightstudio1645
@interlightstudio1645 2 жыл бұрын
NIck has installed TF like 5,000 times by now loool. Gr8 tuts!!!
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Legit, at least 5000 LOL
@m.rishab4770
@m.rishab4770 6 ай бұрын
​@@NicholasRenotte ​can You please make video on how to do it for multiple classes ?
@IksanOktavRisandy
@IksanOktavRisandy 7 ай бұрын
58:20 I want to ask, what if i have 19 classification , should it be Dense(18, activation="sigmoid") so in sigmoid the range from 0 to 18 (19 values) ?? wait i just found that sigmoid activation ONLY have 2 outputs that 0 and 1, so should i use "softmax" activation instead?
@Nice_lolat
@Nice_lolat Жыл бұрын
Thanks man, exactly how i will like to learn. Everypart of the code explained and visualised. No assumption ☺
@russstephanson6987
@russstephanson6987 Жыл бұрын
Nicholas this video is one of the best tutorials I have seen on image classification. Thank you
@cyclone760
@cyclone760 5 ай бұрын
40:50 I felt it man. Shows he's just a human developer like us.
@mattzucca4102
@mattzucca4102 Жыл бұрын
So, I got this to work. tensorflow doesn't need import tensorflow-gpu in case anyone goes down that rabbit hole.
@ramonatilanovillalobos6622
@ramonatilanovillalobos6622 Жыл бұрын
Thanks you save my life
@mattzucca4102
@mattzucca4102 Жыл бұрын
@@ramonatilanovillalobos6622 np, that was a rough one
@afkhoso
@afkhoso Жыл бұрын
thanks! had the same issue! comments and conversations like this help others very much!
@Huapua
@Huapua 2 жыл бұрын
A nice practical start to this topic. It makes me look forward to learning more of the details in order to troubleshoot and train correctly. Even though I was following along with Nicholas, my neural network was making incorrect predictions. I reran all my code from scratch and the same failed predictions. The third time I trained from scratch, it seems like the predictions were more likely to be accurate. It might be because my image downloader downloaded less images than Nicholas. I only had 3 batches of training data. I guess the point of all this is that if you are failing to get accurate predictions, maybe try rerunning your code to get different fit parameters, and/or get more data.
@ivankuseta2174
@ivankuseta2174 2 жыл бұрын
In case you are still wondering why you received such a low max for the batch when preprocessing data, it is because you accidentally scaled the data twice. So when using the first approach of scaled_data you scaled them to max=1.0 and max=0.0, and then again when using the map function with x/255, you actually scaled it to 1/255 = 0.0039.... EDIT: Wow, I commented this right before you said you might have scaled it twice hahahahahah
@nikolamatijasevic9454
@nikolamatijasevic9454 2 жыл бұрын
Can you explain in a little more details? Thanks
@aviparnabiswas3707
@aviparnabiswas3707 2 жыл бұрын
Hello Nick, was wondering can CNN be used to classify the before and after measurement of lawn grass cutting? I was wondering how well this model will work with such images.
@ridvanakyuz_
@ridvanakyuz_ 7 ай бұрын
Thank you ! This video so instructive and explanatory . But i need a help. Where we used to transfer learning ? Can you explain me please ?
@Christian-dd2qm
@Christian-dd2qm 2 жыл бұрын
Which activation function would you use for your final perceptron if you want to be on the save side with your prognosis but would not mind a few more false positives? Another relu? That being said: how should we alter the setup to detect any kind of anomaly without training for it? Say we have 5000 good images of casted metal parts, but none of faulty ones. How would we make the CNN detect faults/anomalies?
@ziddimalikziddimalik1288
@ziddimalikziddimalik1288 Жыл бұрын
Dear sir, Your video is so awesome and you deliver each point very clearly and it need more video related this topics and student want to be more learn to your channel I hope you will be share more video such kind of work... Good job sir👍
@somtoogbe108
@somtoogbe108 Жыл бұрын
You are really a great teacher and I love the way you organize your code. Keep it up Nic
@crisevangelene7242
@crisevangelene7242 2 жыл бұрын
This video is a life-saver, thank you so much for sharing this video sir. Because of your help, me and my frnd could finish our project on time. A Big thankkkk youuuuuu from our side ❤️❤️❤️
@dheerajkumarsiripalli9363
@dheerajkumarsiripalli9363 2 жыл бұрын
And that friend is none other than me 😹 and once again thanks alot sir. Actually we have learned an outdated course which nearly ended our project... But your video saved us just on time. Thanks alotttt ❤️❤️❤️
@aysegulsezen4280
@aysegulsezen4280 Жыл бұрын
It was very useful video. Thank you very much! This video answered my questions about preparing image input data for machine learning.
@montaguemonro565
@montaguemonro565 10 ай бұрын
I'm honestly confused on the stacking of the layers, what influences how the hyper-params and what influences how many times you're duplicating the same 2 layers?
@eduardozaratemontalvo6405
@eduardozaratemontalvo6405 2 жыл бұрын
MEN!! YOU ARE A HERO!! 🥳THANKS A LOT!! Very clean, Good Explanation. THANKS!!
@manishtanwar8578
@manishtanwar8578 2 жыл бұрын
Awosome work NICHOLAS , Please make video for the multiple classes classifier too.
@ersinbicak7448
@ersinbicak7448 Жыл бұрын
In 42. row when I run image_dataset_from_directory('data') code. It gives unicode error. It says 'utf-8' codec can't decode byte 0xfc in position 32: invalid start byte" I can not forward for this issue. Can u help ?
@takomensei3710
@takomensei3710 Жыл бұрын
im having the same problem, did you find the fix?
@RC-dx6vv
@RC-dx6vv 7 ай бұрын
me too, unfortunately... still scrolling through comments hoping somebody posted a solution.
@abdullahalmazed5387
@abdullahalmazed5387 Жыл бұрын
You have no idea how much you are helping me, Nick. Thaaaaaaanks!!! And those wondering if this tutorial is worth the time, I, as a beginner, can tell that this is a top-class tutorial for beginners in deep learning and CNN. Just go for it. Thanks again, Nick. PV: I learned the theories from an Andrew Ng course, and this tutorial helped me learn to implement those theories.
@economicsanity2895
@economicsanity2895 Жыл бұрын
yeah I agree. Initially I watched Nick's vids without any foundational knowledge, and I was utterly clueless as to what was going on. However, after acquiring some fundementals, it is absolutely great to understand it
@jesseifrah5383
@jesseifrah5383 Ай бұрын
holy shit this is absolutely incredible. the most amazing toutorial I have ever watched. thank you so much, and if there if any way I can pay you back, let me know sir! I don't even follow machine learning content, but I still subscribed to help out! thanks nicholas!
@GamingShiiep
@GamingShiiep Жыл бұрын
58:00. I wish you had shown how not only the functions work, but how the data changes. Maybe you/someone here can explain to me: when specifying the number or kernels in conv2D, does that mean: one kernel does it job and creates a new matrix/np.array, then another random kernel does its job and creates a second new matrix/no array etc. And after that's happened 16 times, all these matrizes are getting stacked up or summed and meaned and then one single resulting matrix is fed into the next step which is max pooling? In max pooling basically the one matrix fed into it goes through convolution again and then the resolution gets lowered again by doing the max pooling kernel thing? Once again, summing up all 32 matrizes resulting in one meaned matrix? Or: the conv 2D puts out 16 new matrizes. Then for each matrix, max pooling is applied still putting out 16 matrizes, which are basically lowered in resolution. After that, those 16 matrizes are treated like the input was (single image matrix), which was to create n matrizes (in conv2D) out of a single input. In this case now it's creating 32 matrizes out of Number 1 matrix from the previous max pooling step. You see, i just don't understand the dimensions and in between outputs. That's why I really dislike piping in tutorials.
@Faridas-wy4kx
@Faridas-wy4kx 8 ай бұрын
Can i ask one question? Can i change the rgb format color to CIELAB and use it for CNN?
@prasadk6510
@prasadk6510 2 жыл бұрын
This is excellent to classify any two classes of objects.But why we get error in multi-class however.Mismatch in input and output class.
@CHARLYFIVE7
@CHARLYFIVE7 Жыл бұрын
It's almost the same. You just need to change some parameters and the activation function in the output.
@ashfeenaziz3330
@ashfeenaziz3330 2 жыл бұрын
why I can't install those frameworks, It end with saying doesn't satisfied the version .
@vixguy
@vixguy Жыл бұрын
Man I can't believe how well it did with how little data there was.9
@Asrokid20NOV27
@Asrokid20NOV27 Ай бұрын
This was excellent. And so if I reopen this, do I need to compile everything from the beginning?
@chetankumar5634
@chetankumar5634 2 жыл бұрын
@Nicholas Renotte Can you make a video more more than 2 classifier?
@joelmaiza
@joelmaiza Жыл бұрын
Realmente increíble, muy explicativo paso a paso y es de los pocos tutoriales que puedes seguir sin tener ninguna complicación. Gracias por compartir con todos.
@coding_with_chip
@coding_with_chip 2 жыл бұрын
just a heads up, typo: 1:09:50 - PART 4: Evaluating Perofmrnace
@TheCertifiedman
@TheCertifiedman 8 ай бұрын
Hi I want to create a Model that learns where to place ground control points given images showing how to place them. The input is a kml and I want an output of coordinates
@alainjude9745
@alainjude9745 Жыл бұрын
Hello Nicholas. Thanks for your explanation of the subject with the appropriate examples. I'm having my internship right now and your explanations helped me to understand what is done. I've also used the code. Forgive me if it offends you. I didn't know where I could look to know under which licence this code was.
@meghanah7640
@meghanah7640 Жыл бұрын
Sir If there are more than two class then how to build a deep learning model..can u guide me please.. it's so urgent 🙏
@photorealm
@photorealm 2 жыл бұрын
Awesome video. Love the way you explained all of the steps in great common sense detail. 5 Stars 😊
@muhammaduseram9405
@muhammaduseram9405 10 ай бұрын
very well explained , one question can we do the same process for commonly lost items, context is we are building image matching loss and found system where there is need of image classification to generate tag for each image and put them into its relative category, can we use same network setting, waiting for you reply ASAP, Thanks
@努力要努力
@努力要努力 4 ай бұрын
I don't know if you would see my comment. You have done a great job with your video!! I have a question on len(data) since my data length was 71, and if I have added one in val_size and test_size, the sum of them will be more significant than 71, and it becomes 72. Did it affect anything in the following? or is it essential for the next step? should I add one in val_size and test_size??
@bl4z3_kanazaki
@bl4z3_kanazaki Жыл бұрын
Dude makes DL actually fun to learn! I can't learn anything from the lecturers at my college because they talked to much and didn't even explain anything! Thanks man
@yusufkemaldemir9393
@yusufkemaldemir9393 Жыл бұрын
Who are you bro:))) This is best training video I have seen on KZbin.
@nachoeigu
@nachoeigu 2 жыл бұрын
Another way to extract images from the web is by using web scraping and it is more robust and flexible technique.
@rbrowne4255
@rbrowne4255 2 жыл бұрын
Thanks great tutorial!!! are there any advantages of gray-scaling the images as part of the pipeline?
@NicholasRenotte
@NicholasRenotte 2 жыл бұрын
Reduces the number of parameters, it's very much dependent on the dataset! If color is likely an important determinant of a class then I probably wouldn't grayscale!
@sudhakarm4573
@sudhakarm4573 Жыл бұрын
hi.. nicholas. very clear explanation.. Thank you so much... I have a doubt. whether this model could be used for our data, if the accuracy is good. rather than pre trained models... In other words, if we can give good accuracies just by sequential arranging of layers, what is the neccessity of pretrained models or transfer learning. please clarify this .. And I want to use more than 2 classes. How could be do so?. or Anyone please clarify
@akritirani4600
@akritirani4600 10 ай бұрын
So if I am doing the classification for multiclass then I cannot use "logs" function, what should I do in such case
@Gregg69420
@Gregg69420 Жыл бұрын
Please show us how to put something like this into a GAN so we can make a promptable GAN.
@BHPFestival
@BHPFestival 9 ай бұрын
Hey mate, we need an updated video on how to install gpu capability for jupyter notebooks in visual studio code. Tensorflow has updated and some in this tutorial no longer works. Without gpu usage I don't need to tell you ai is out or range. I've seen so many other videos that get so messy you can't be sure where you are. I think you can be the one to clear it all up is a simple and beautiful way. Otherwise - your video is wonderful.
@anandtalware2283
@anandtalware2283 3 ай бұрын
I have watched this tutorial in one shot ... Your teaching is awesome, useful. . thank you. .. I just want to ask, why didn't YOU use train-test-split instead manualy splitting ?
@PaperEmma
@PaperEmma 9 ай бұрын
Thank you so much for this! Really helps my understanding of how to build this kind of model in practice. I've generalised it to multi-classes now and it seems to work too. I just have one quick question as i've spent hours researching and trying to understand without much luck so any help would be much appreciated! In my understanding, the test set should be completely independent and unseen. However, with keras.image_dataset_from_directory, it works by reshuffling the data after its been through all the batches. Therefore, as it's running at each epoch it reshuffles and redraws the training, validation and test sets. As a result, do we have a data leakage problem in that the model has already seen the test data when it is training?
@PaperEmma
@PaperEmma 9 ай бұрын
As an afterthought, is it better to split out the test set into a separate folder before running everything in order to ensure it is independent. and then just read it in as a new object, e.g. tf.keras.utils.image_dataset_from_directory(test_dir) when we want to calculate the metrics at the end on the test data?
@DinaDina-xf8nx
@DinaDina-xf8nx 9 ай бұрын
Thank you so much ❤.l hope to give us ather deep learning project of multiclassfication image problem
@rikiriki43
@rikiriki43 Жыл бұрын
So interesting ,Thank you for your video. As a beginnger for python, I can build a model. It's amazing!!!
@rroiboi125
@rroiboi125 Жыл бұрын
58:07 what if I want to make a model to detect between multiple emotions, besides happy and sad, do I still use the sigmoid activation?
@georgewang7770
@georgewang7770 2 жыл бұрын
Thanks for the tutorial. Quick question: I see you took steps to preprocess the images. That's great. But what if we took each image as simply pure raw data (not even treating the files as image files), and just run CNN on them as is. Would the classifier still work? Maybe not as accurate, but it should still work right? From CNN point of view, it will just detect raw data pattern as is, and still reach that final single node as 1 or 0.
@niharpatel8520
@niharpatel8520 2 жыл бұрын
Hello I’m having an error as UnimplementedError: Graph execution error How can I resolve it,please guide me
@eatonasher3398
@eatonasher3398 Жыл бұрын
When you searched in the "data" folder at the beginning, where was that searching? Does it just look through the current directory you've set in preferences for jupyter?
Learn Machine Learning Like a GENIUS and Not Waste Time
15:03
Infinite Codes
Рет қаралды 293 М.
But what is a convolution?
23:01
3Blue1Brown
Рет қаралды 2,8 МЛН
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
Какой я клей? | CLEX #shorts
0:59
CLEX
Рет қаралды 1,9 МЛН
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 1,5 МЛН
Tensorflow Tutorial for Python in 10 Minutes
11:33
Nicholas Renotte
Рет қаралды 476 М.
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 802 М.
10 AI Animation Tools You Won’t Believe are Free
16:02
Futurepedia
Рет қаралды 583 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 890 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 402 М.
MIT Introduction to Deep Learning | 6.S191
1:09:58
Alexander Amini
Рет қаралды 798 М.
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 640 М.
Getting Started with Python Deep Learning for Beginners
1:10:44
Nicholas Renotte
Рет қаралды 210 М.