Тёмный

Image Classification in Keras with explanation || Easy Way 

Vaishvik Satyam
Подписаться 6 тыс.
Просмотров 56 тыс.
50% 1

Want to know more about Robots
BLOG POST: vaishviksatyam.wordpress.com
Host and Creator - Vaishvik Satyam
WEBSITE: vaishviksatyam.wordpress.com
QUESTIONS: themechatronicsolutions@gmail.com

Опубликовано:

 

12 янв 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 207   
@ahmedsabbir5862
@ahmedsabbir5862 4 года назад
I loved every minute of this video, it was really informative and you explained things simply. Thank you so much.
@sagnikbanerjee4862
@sagnikbanerjee4862 4 года назад
The best video till now to make understand the working of neural network and how to build an image classifier
@ayushiagarwal528
@ayushiagarwal528 3 года назад
great explanation. You actually took lot of efforts to explain in great detail. Appreciate that. Has made me interested to watch all your videos now
@ukaszadach6592
@ukaszadach6592 5 лет назад
it helped me a lot to understand how image classification works, thanks!
@rabbilbhuiyan5666
@rabbilbhuiyan5666 4 года назад
Useful, explained easily step by step. Like it and thank you guys!
@rohit090893
@rohit090893 4 года назад
I was looking for a good explanation but I did not get it anywhere. Your explanation is very simple and accurate. Thanks.
@samithaduthika2444
@samithaduthika2444 4 года назад
great work. Thank you. hope you will continue this
@FindMultiBagger
@FindMultiBagger 3 года назад
First of all thank you for your efforts 😇 We need more such videos for Ann , rnn, LSTM , transformers .. etc Hit like to if you looking for this videos 👍
@shreejanshrestha1931
@shreejanshrestha1931 4 года назад
thankyou so much for this video brother. Really appreciate your work
@cabrelngako8877
@cabrelngako8877 4 года назад
Dear Sir you video is well explain. thank you verry much for your work and time.
@bob80808
@bob80808 4 года назад
Man I'm only 4 minutes into the video and... you diserve a like and subscribe, honestly. Thank you for explaining things in such detail and so good!
@AQhannan
@AQhannan 4 года назад
.Thumbs Up. very good explanation step by step.
@indahmonisafirdiantika2096
@indahmonisafirdiantika2096 4 года назад
this tutorial is really help me a lot
@sushilpandey4949
@sushilpandey4949 4 года назад
Yippee🥳🥳🥳🥳🥳🕺🕺🕺🕺 Bro it helped me a lot to understand image classification please keep it up
@RoboticsExplained
@RoboticsExplained 4 года назад
Thanks buddy :-)
@poojaerelli1806
@poojaerelli1806 3 года назад
Thank you for the vedio.. Helped me a lot in right time
@dkishore599
@dkishore599 4 года назад
Really it is simply awesome...
@AbdulWaheed-vl1pc
@AbdulWaheed-vl1pc 3 года назад
Great Job my boy.Thank you
@toushi100
@toushi100 4 года назад
great video bro this helped me alot thank you so much
@omkarkhandalkar8869
@omkarkhandalkar8869 4 года назад
Thanks bro for this video I have to create image classification of leafs this video really help me alot It's just quick and understandable video
@RoboticsExplained
@RoboticsExplained 3 года назад
Thanks Codrino.
@tanmoy_official
@tanmoy_official 4 года назад
Thanks a lot. helped understand the basic implementation of ML model
@RoboticsExplained
@RoboticsExplained 3 года назад
Thanks Tanmoy
@priyajitghosh2790
@priyajitghosh2790 5 лет назад
Make more videos on image classification with different examples.
@mehakdeepsingh9288
@mehakdeepsingh9288 4 года назад
Thanks a lot man.It helped me learn a lot.
@agrillhasnoname
@agrillhasnoname 5 лет назад
Congratulations for the good and simple explanation, easy to read code. I encountered issues following another tutorial online for this dogs and cats project but found your video much easier to follow. I noticed in the end of training, your model has the accuracy of 77%. Mine is almost like yours, with different parameters, it reached 85% accuracy, still I'm not happy with it because I gave it 3 new photos as test, of 3 cats, he identified 2 as dogs (wrong) and only 1 right, as cat. I'm trying Inception now, still training, takes longer than your model but looks promising, on Epoch 5 of 10, accuracy is already 90%, let's see what we can get.
@RoboticsExplained
@RoboticsExplained 4 года назад
Thank you. It's amazing you are able to get such high accuracy with this dataset. how did it go with another model ? Did it work ?
@AviralBajpai
@AviralBajpai 3 года назад
Much respect for NFS Most Wanted and CS1.6 shortcuts. :)
@RoboticsExplained
@RoboticsExplained 3 года назад
Those two games will Always be there Aviral. No matter what we do.
@nipunarora8
@nipunarora8 4 года назад
Heyy brother, please make more videos for deep learning. You explain quite nice, would love to see more content from you.
@RoboticsExplained
@RoboticsExplained 3 года назад
Sure Nipun. I would do so. Thank you.
@sachinjaiswal8222
@sachinjaiswal8222 4 года назад
Thank u so much it really helps
@unemployedcse3514
@unemployedcse3514 3 года назад
Practical vedio helped me a lot thank u 💞
@arushjain1768
@arushjain1768 4 года назад
Thanks a lot brother it has taught me a lot and some concept which were not clear are now clear. It will be good if you share your code and dataset link so that we can too make our neural network.
@madannikalje760
@madannikalje760 5 лет назад
Thanks bro really easy
@gagangupta7840
@gagangupta7840 4 года назад
Nice explanation with example
@RoboticsExplained
@RoboticsExplained 4 года назад
Thanks gagan!
@chauhan100990
@chauhan100990 4 года назад
Really nice tutorial. I wish for your bright future in DL-ML (AI). Good luck.
@aravindswamy7631
@aravindswamy7631 4 года назад
@does this work for u
@chauhan100990
@chauhan100990 4 года назад
I already know keras, tensorflow. But its good explanation.
@ananyajadebadipta9639
@ananyajadebadipta9639 4 года назад
@@aravindswamy7631 I tried with the plant this with rice disease and Healthy leaf classification. The first time it worked but then it did not work. Both the time, program run successfully but second time it could not classify the image.
@bizharshit
@bizharshit 4 года назад
good work !!
@princepandey8993
@princepandey8993 2 года назад
Very nice tutorial
@diahnurkhasanah7499
@diahnurkhasanah7499 3 года назад
Thanks for all the explanation
@RoboticsExplained
@RoboticsExplained 3 года назад
Anyday!
@shivadarshans3409
@shivadarshans3409 4 года назад
Super super Make some more on multiclass classification
@z1pppyyyy
@z1pppyyyy 4 года назад
thank you man, really helped :)
@vinyselopal6215
@vinyselopal6215 4 года назад
Amazingly explained!
@RoboticsExplained
@RoboticsExplained 3 года назад
Thank you
@aymanzaoui9335
@aymanzaoui9335 3 года назад
can you give me source code§§
@srujanwankhede5314
@srujanwankhede5314 3 года назад
can you make a video on multiclass classificaition please BTW great work
@technospider1917
@technospider1917 3 года назад
Thank you bro you are predicting two class (dog/cat) right so i think in your neural network must have the parameter set as 2 in the last layer DENSE layer
@bhautikkachhadiya7583
@bhautikkachhadiya7583 3 года назад
well explained....
@pianowithnikko8943
@pianowithnikko8943 3 года назад
Lovely tutorial! I have 1 question: instead of specifying the number of train samples (1000 in the tutorial) is there a way to use as train samples all of the images inside the data folder?
@yashwanthmachiraju917
@yashwanthmachiraju917 4 года назад
Thanks. Very good video. I want to add hyperparameter optimisation to the same model. can you please help.
@mariumhayat8663
@mariumhayat8663 5 лет назад
what would be the class mode for non-binary classification?like i have 5 categories to predict from ,what would be the class mode in that case? and how can i write
@shreyapattewar522
@shreyapattewar522 4 года назад
Awesome video...I was searching for such video from quite long...keep doing more videos on ML
@gerelbatbatgerel1187
@gerelbatbatgerel1187 4 года назад
Thank you so much! :D
@bananaldossary3659
@bananaldossary3659 4 года назад
awesome!
@lendixful7932
@lendixful7932 5 лет назад
Nice video
@rohit090893
@rohit090893 4 года назад
Can we use this classification model for Object detection. Can you please make a video on How will we do Object detection (Human) in images and videos using Tensorflow CNN from scratch. I want to make my own model but even on tensorflow website they are using pre-trained model for object detection.
@mirzamunib5964
@mirzamunib5964 4 года назад
Hello Sir nice explanation. I want to know one thing when you limit validation data to 200. it will pick 200 from cats and 200 from dogs separately. Thank you
@NaderAlyzayo
@NaderAlyzayo 4 года назад
honestly i cant find enough word to thank you Keep the great work up and do your best bro Thank you so much i have i a question if i want to can prediction function using python wpf application after this training how can that be possible
@RoboticsExplained
@RoboticsExplained 3 года назад
You can. There are some libraries to help you predict the pattern... If given Multiple I puts
@techpowercoders8009
@techpowercoders8009 3 года назад
Sir can you please tell which classifier should I use if I have a small dataset of 596 images around including testing and training.
@kathiravan6003
@kathiravan6003 4 года назад
super bro...
@aggyasinghal7932
@aggyasinghal7932 4 года назад
how do I update my model when I have new images? do we need to train the model again for all images and can be done for only those new images??
@Danesh41
@Danesh41 3 года назад
Thanks a ton!
@karishmakh5609
@karishmakh5609 3 года назад
Hey,Thanks for this. Can I include this in my resume ? Will it be impactful?
@naveenchauhanindian
@naveenchauhanindian 4 года назад
Superb, nicely explained every bit of the CCN two-class classification. One question, once we had saved the model .h5. now, how can I call the model for further prediction? Suppose I am calling this model using remote machine, so connect it with socket, and server code will call your model.h5.
@RoboticsExplained
@RoboticsExplained 3 года назад
Yes... It can be. Look into. Load model
@harshvardhantiwari4438
@harshvardhantiwari4438 3 года назад
Thank You
@savagelysavage4187
@savagelysavage4187 3 года назад
can you help me in modelling a CNN architecture which will take two inputs separately and also provides the feature map separately as output using Functional API model?
@mahendrasinhgohil44
@mahendrasinhgohil44 3 года назад
You can add earlyStopping for stop process when validation curve slightly increases.🤔🤔
@Varunkumar-rr4mt
@Varunkumar-rr4mt 3 года назад
hey man, do you mind telling us which dataset you used? i have an error saying the model cannot be compiled because it has no loss to optimize
@christyzachariah1301
@christyzachariah1301 3 года назад
how do we use the predict if we need to compare 4 different classes ?
@aravindswamy7631
@aravindswamy7631 4 года назад
@vaishviksatyam does the mail works ,i have an query .
@rohit090893
@rohit090893 4 года назад
How many number of neurons are there in Input layer, Conv2D layer 1 and 2 and dense layer? And Is the model taking 1 Image at a time or 20 images(batch size) in the CNN model ?
@dkishore599
@dkishore599 4 года назад
Can you post some more videos with Data set with detail explanation .?
@bobypardamean7355
@bobypardamean7355 4 года назад
Haii could we load confusion matrix with this method?
@jassersaanoun9493
@jassersaanoun9493 4 года назад
i wanna know how to predict the class without writing it (the if statement at the end) like for example from a file that has { index: "className" }
@RS-vu5um
@RS-vu5um 4 года назад
Where can I get the copy of your code shown in this video?
@St0rm0ne
@St0rm0ne 5 лет назад
Thank you for your explanations, helps a lot, I'm facing a problem, I would like to determine wheter a person has long, mid, short hair, my train dataset has 1000 images (300each classes), my test dataset has 300 images (100each classes), the result of the prediction is always [[1. 0. 0.]] so always long ... my model is getting 87% accuracy and 0.2 loss and validation accuracy is 81% and validation loss 0.5. Could you help me to understand why I'm I getting the same results ?
@rachanadesai7984
@rachanadesai7984 4 года назад
where you able to solve this problem? I am facing the same problem!
@surbhibhatia7629
@surbhibhatia7629 3 года назад
My model predicts the same class Even though the equal amount of images are provided .Can you suggest something?
@shivamhanda7527
@shivamhanda7527 3 года назад
Does the target_size automatically resize the images to 150*150?
@amrithak1113
@amrithak1113 2 года назад
May I know how to upload folder with folders to colab sir..I want to upload iris eye database with images directly taken and each folder has its variations also
@anuragsinha7901
@anuragsinha7901 4 года назад
Can u make more videos on it
@veerbeniwal120
@veerbeniwal120 4 года назад
thanx bro it did help me....but can you tell me how this prediction model can work for more than 2 outputs.(result=model.predict(img_pred) print (result) if result[0][0]==1: prediction = "cat" else: prediction = "dog" print (prediction)
@joydipbose4612
@joydipbose4612 3 года назад
yes then you need to check result[0][1] ,result[0][2] so on and so forth
@RoboticsExplained
@RoboticsExplained 3 года назад
Thanks.
@mayanksaxena6273
@mayanksaxena6273 3 года назад
Bro can you link the videos you were talking about at 16:19 ? I can't find it in the description :3 Thanks!
@aniruddhamulay2932
@aniruddhamulay2932 4 года назад
How to print the prediction percentage of the image to be classified??
@jyotirupamalakar1931
@jyotirupamalakar1931 4 года назад
Which classifier you used?
@debjyotibanerjee7750
@debjyotibanerjee7750 4 года назад
I want to know whether the batch selected each time, gets selected randomly, or the same batch gets selected epocs time??
@nawrasqusay2164
@nawrasqusay2164 2 года назад
great job how can i get the code please
@dadosaid420
@dadosaid420 2 года назад
why do you add the validation_generator while fitting your model ? should we just fit it with the train generator and then use model.evaluate(validation_data)??
@divyanshsahu8750
@divyanshsahu8750 3 года назад
how to check if the model is not over fitted or we have to change in some of the layers
@TheRandomTecLad
@TheRandomTecLad 3 года назад
do u have this cold on git
@sairamjanakiraman8598
@sairamjanakiraman8598 4 года назад
Thanks for this video. I tried the same code and I got the following error . ValueError: Error when checking input: expected conv2d_8_input to have shape (150, 150, 3) but got array with shape (299, 296, 3) Any help would be greatly appreciated.
@kundanseal1650
@kundanseal1650 3 года назад
InvalidArgumentError: Incompatible shapes: [3,3] vs. [3,10] [[node categorical_crossentropy/mul (defined at
@tanakablack5271
@tanakablack5271 4 года назад
i like the vidz...well explained....buh the last part is not clear though.....like wah if u have more classes....4 or 5
@doji-san
@doji-san 4 года назад
i think maybe just add those extra classes in the directory with the dogs and cats folders..
@tanakablack5271
@tanakablack5271 4 года назад
@@doji-san yeah yeah but i meant on the data prediction part....
@mastermind3778
@mastermind3778 3 года назад
hello there, i have train data soil of 4 different types , at last step then how to predict that types. what are conditions should be plz any one help
@pradnyadeshmukh6709
@pradnyadeshmukh6709 2 года назад
Can you share the link to the dataset you used in the video
@unknown_3415
@unknown_3415 4 года назад
Hello bro, How u got "DOG" as predicted result?
@justinmathew5776
@justinmathew5776 4 года назад
Nice explanation...bro can you help me with one doubt? If suppose in a image there is a cat and dog, I want to display the count of the dogs and cats in the image and also predict that cat and dog both are there in the image? How can I do it?
@ananyajadebadipta9639
@ananyajadebadipta9639 4 года назад
Yes it is possible but you need to import os library and to run for loop for all files. Each time, it predict a dog, you have to add 1.
@justinmathew5776
@justinmathew5776 4 года назад
@@ananyajadebadipta9639 But what if in an image there is both cat and dog, will it predict as cat and dog?
@ananyajadebadipta9639
@ananyajadebadipta9639 4 года назад
@@justinmathew5776 it will choose either dog or cat depending on maximum features of cat or dog matched to the trained parameters. I don't know the right answer.
@saiteja8207
@saiteja8207 4 года назад
i mean how to develope a classifier to distinguish between dogs and cats?
@parvathyks16
@parvathyks16 4 года назад
How can we run this code with out using anaconda navigator. But in a flask environment?
@milindkapase2414
@milindkapase2414 4 года назад
Hello ur video nice I want multiclass images cnn classification Please make video
@RoboticsExplained
@RoboticsExplained 3 года назад
Sure Milind
@ananyakashyap5144
@ananyakashyap5144 3 года назад
thanks so much for thissssssss _/\_
@AQhannan
@AQhannan 4 года назад
I have just 1 question in last part why you have established that 1=Dog or Else=Cat. Why not 1=Cat ?, any technical reason. Kindly Brief.
@bobypardamean7355
@bobypardamean7355 4 года назад
Hai. What if i have 3 classes? Please kindly tell me how to predict it
@shadmansaeed5601
@shadmansaeed5601 3 года назад
Okay here is it how it works in 'binary classification' with 'sigmoid' activation, the output of the network will be a single scaler between 0 and 1 encoding the probability that the current predicting image is class 1(as opposed to class 0) higher the probability higher chance of the image to be type class 1 not class 0 therefore in this case cat is class 0 and dogs is class 1. Hence the predict function encodes the probability that the current image is class 1 which is dog. therefore if the probability of the current image is 1 then it is type class 1, in this case dog and if probability 0 then class 0 cat. The main thing is that the predict function encodes the probability that the current predicting image is of type class 1.And talking about why cat is class 0 and dog is class 1 the directory is labelled like this since cat is the first directory then dog, Hope it helps
@aryantpratapsingh
@aryantpratapsingh 3 года назад
@@bobypardamean7355 for multiple class classification you can use a additional softmax layer at the end of neural net. :)
@almasrurkhan9865
@almasrurkhan9865 3 года назад
ind = train_generator.class_indices print(ind) use it
@DilanTech
@DilanTech 3 года назад
what should be the prediction code for multi-class classification? my input shape is (150, 150, 3).. Input 0 of layer sequential_1 is incompatible with the layer: expected axis -1 of input shape to have value 1 but received input with shape (None, 150, 150, 3) this error always popping up
@sonalgandhi2154
@sonalgandhi2154 3 года назад
I want to know how many hidden layers are implemented in your code
@jainil1653
@jainil1653 4 года назад
'DirectoryIterator' object has no attribute 'shape'....error in my code...my image dataset is of 640*360 grayscale
@dkishore599
@dkishore599 4 года назад
How do we define if we have 5-classes ( Dog, Cat, Rat, Horse , Cow ) ? do we need to do Prepossessing ?
@jaysaha1967
@jaysaha1967 4 года назад
You need to hot encode the output and you need to change the classifier from binary to categorical_crossentropy in model.compile
@saiteja8207
@saiteja8207 4 года назад
what if we give input data not as seperate dogs and cats? what happens or how to classify if the images are combined and we need to extract or seperate them from the combination of both of those images? please get back to me ASAP.
@emoloic8481
@emoloic8481 3 года назад
If we want to get the score of the prediction.How can we do it ?
@nygvn
@nygvn 4 года назад
hey thanks for helping me understanding image classification. I got a problem with my code on the result. I tried the cat image but predicted as dog. I dont know whats went wrong. Help mee
@doji-san
@doji-san 4 года назад
what accuracy percentage did you get? maybe run it with more epochs...
Далее
What is Epoch in Neural Network ?
1:27
Просмотров 35 тыс.
Me: Don't cross there's cars coming
00:16
Просмотров 8 млн
💜☀️✨
00:47
Просмотров 165 тыс.
Geometric Face Recognition - Computerphile
9:30
Просмотров 88 тыс.