Cat Vs Dog Image Classification Project | Deep Learning Project | CNN Project

Sdílet
Vložit
  • čas přidán 1. 06. 2024
  • Dataset used - www.kaggle.com/datasets/salad...
    Google Colab Notebook - colab.research.google.com/dri...
    ============================
    Do you want to learn from me?
    Check my affordable mentorship program at : learnwith.campusx.in
    ============================
    📱 Grow with us:
    CampusX' LinkedIn: / campusx-official
    CampusX on Instagram for daily tips: / campusx.official
    My LinkedIn: / nitish-singh-03412789
    Discord: / discord
    👍If you find this video helpful, consider giving it a thumbs up and subscribing for more educational videos on data science!
    💭Share your thoughts, experiences, or questions in the comments below. I love hearing from you!
    ⌚Time Stamps⌚
    00:00 - Intro
    01:15 - Kaggle Dataset
    03:15 - Code Exmaple

Komentáře • 186

  • @sachin2725
    @sachin2725 Před rokem +19

    You are that 'Dataset' which does not required any EDA...you are the best bro...keep up the good work.... LUV U 3000 😜

  • @siyays1868
    @siyays1868 Před rokem +10

    Thanku very much for efforts you put for everyone here who wants to learn data science & its new domains . Your sessions always provide some new & helpful information. I don't have words to praise for this channel. I never know how to unzip file, trying to google ; don't understand. U showed a code for that & it worked. I learned a small , new thing & it was helpful . Thanku so much.

  • @rakeshsoni5270
    @rakeshsoni5270 Před rokem +4

    Your way of explaination is too good brother, i learned many concepts from your video, thank you so much

  • @rajeshmhakave9606
    @rajeshmhakave9606 Před měsícem +3

    Now days I rely on your videos to get clear understanding of concepts. Your explanation method is so easy. Thank you very much Sir!!!!

  • @aj_ai
    @aj_ai Před rokem +5

    Enjoy your teaching style, all things to the point.

  • @beamngdrivegamebyayush140

    Come with more Awesome project ❤️✔️
    We are always here to support and trust you 🎯❤️

  • @techtonik7
    @techtonik7 Před rokem +3

    Thank you Nitish sir for continuously putting your efforts!!

  • @ankitswain1828
    @ankitswain1828 Před 5 měsíci +1

    bina daadi mooch wala Krish Naik.... But he has keen understanding of the topics... loves his video💗

  • @ayushtiwari7841
    @ayushtiwari7841 Před 2 měsíci +1

    loved answering some questions in the comments, helped boost my confidence regarding the topics.

  • @kagadevishal5008
    @kagadevishal5008 Před rokem +4

    Excellent explanation sir! But will you please make a classification using pytorch once.

  • @magnets8264
    @magnets8264 Před rokem +1

    I have no words to thank you brother ....❤❤

  • @indianengineer5802
    @indianengineer5802 Před rokem +1

    Congratulations for 40K sir !

  • @vivekyadav-eb1ic
    @vivekyadav-eb1ic Před 5 měsíci

    A very informative very good teaching style, good learning experience ❤

  • @khandelwalmitesh3
    @khandelwalmitesh3 Před rokem +1

    Hello sir, I am getting 1.0 accuracy for both training and validation set with the same code. Is it correct or am I doing overfitting. Can you please help me out ?

  • @pashto.remixmusic
    @pashto.remixmusic Před 13 dny

    You explained it very well. thank u so much bro. big like from Afghanistan.

  • @rishabhvyas856
    @rishabhvyas856 Před rokem

    Sir we can rescale the image with flow from directory method in image data generator. We don't need to do it separately.

  • @thelife5628
    @thelife5628 Před rokem +4

    25:13 Just some habits of true RCB Fans....😂
    Thanks for the video sir. Your videos are of 11/10 ratings❤

  • @AdityaSharma-em8vz
    @AdityaSharma-em8vz Před rokem

    Really helpful and informative videos!!!

  • @pranendu40
    @pranendu40 Před rokem

    Hello Nitish sir.
    You asked us about starting the mentorship program again. Can we expect the same anytime soon?

  • @mentalgaming2739
    @mentalgaming2739 Před 3 měsíci

    Very Good Sir , NIce Understanding Of Every Concept

  • @omsairamconcept
    @omsairamconcept Před rokem

    Congratulations for reaching 40k .. Very soon it will be on 1 lack

  • @hrmnde3p
    @hrmnde3p Před rokem +1

    Which is best for NLP tensorflow or pytorch ?

  • @avijitchowdhury1093
    @avijitchowdhury1093 Před rokem

    Can you show this project with deployment in heroku or other cloud platforms. Because deploying a deep learning model is a great issue..

  • @jyotirani9224
    @jyotirani9224 Před 7 měsíci

    Sir I am beginner..can u help me which playlist is worth for watching as I have to submit my project at the end of this month

  • @deeppatel_
    @deeppatel_ Před rokem +1

    in fitting the model it's showing the error Value error : Shapes (None,6) and (None,1) are incompatible
    I have used facial emotions data having 6 categories

  • @ImranKhan-jn6zh
    @ImranKhan-jn6zh Před rokem +7

    Sirji itt would be more helpful if u could explain the parameter and it's particular values why u have used in this project..while creating cnn model like padding, stride etc

  • @pawarrohith2181
    @pawarrohith2181 Před měsícem

    Thank you Bro For this, Lot's of help..

  • @Haroonkhan-lh4kv
    @Haroonkhan-lh4kv Před rokem

    Thank you sir I have learn alot of things

  • @nikhiliyer8436
    @nikhiliyer8436 Před rokem

    Please cover Callbacks,schedule learning rate ,tensorboard etc

  • @tarunkumardas8347
    @tarunkumardas8347 Před 6 měsíci

    the topic is well explained in depth.

  • @dakshbhatnagar
    @dakshbhatnagar Před rokem

    Bhai I think class weights de sakte hain model ko ya fir sampling kar sakte hain. Data Augmentation mein randomflip ya RandomRotation ya RandomContrast use kar sakte hai!!!
    Also, this image_dataset_from_directory waala concept to tagda laga mujhe!! I will try this on one of my pipelines.

  • @maaleem90
    @maaleem90 Před rokem

    Great explanation brother.
    Brother I got a small doubt, what's l1 and l2 regularization in CNN

  • @RichaSharma-pf6eh
    @RichaSharma-pf6eh Před 5 měsíci

    Wonderful explanations by you Krish.....Linear regression is on my tips explained by you now...and so the other M/L videos....This again CNN implemetation you made so simplified for us the beginners....Please keep uploading your videos of DEEP learning too.....thanku so much ......

  • @AliAhmadae121
    @AliAhmadae121 Před 9 měsíci

    new subscriber thank you so much for the ai projects

  • @akashbelkhede4449
    @akashbelkhede4449 Před rokem

    Amazing one Nitish Sir

  • @devarshinirachamalla5834
    @devarshinirachamalla5834 Před 11 měsíci

    I have issue in the code the image data of dtype object cannot be converted to float

  • @mathematicswithveer615
    @mathematicswithveer615 Před 11 měsíci

    Thanks, sir for an amazing lecture
    I solve overfitting to some extent gotan accuracy 94 and Val accuracy 90
    Added one conv and pooling , one fc, Dropdown 0.3

  • @UnKnowN__x2306
    @UnKnowN__x2306 Před 10 měsíci

    did we shuffle our dataset before training??

  • @simonnaulet2118
    @simonnaulet2118 Před rokem

    When i run it says that the dataset have a lot of corrupted files, and then it stops

  • @fiboXO
    @fiboXO Před rokem

    Sir how we select the GPU option in Jupyter notebook, plz respond .

  • @jayanthkothapalli9.2
    @jayanthkothapalli9.2 Před 11 měsíci +6

    Sir, I haven' t used your cnn architecture, I took 4 convolutional layers, kerel_sizes (10,20,40,80) and four fully connected layers with neurons each( 80, 40, 20, 10, 1) . I got accuracy of 99.92%. I will become a top-notch data scientist with your videos. your hardwork payoffs sir.

    • @XEQUTE
      @XEQUTE Před 10 měsíci +1

      uhhh what

    • @zolleresports
      @zolleresports Před 8 měsíci +1

      broooooo!!!!! htf u got share me the code pleaseeeee!

    • @jayanthkothapalli9.2
      @jayanthkothapalli9.2 Před 8 měsíci +2

      Sure

    • @zolleresports
      @zolleresports Před 8 měsíci +3

      share me link broo plz...and there's also a problem uk..like for both cat and dog my model is giving me 1 as output..ifyk the solution please tell me that also :)@@jayanthkothapalli9.2

    • @fatimaalye7423
      @fatimaalye7423 Před 7 měsíci

      please share your code with me also ,, please@@jayanthkothapalli9.2

  • @erwanerwan6196
    @erwanerwan6196 Před rokem

    well done sir !

  • @AliyantTabish
    @AliyantTabish Před rokem

    bhi ap ny buhat achi terhain samjaya hai

  • @cartoonnclubb
    @cartoonnclubb Před 3 měsíci

    Hello sir....there is error in my plt.imshow(test_img) codeline....( image cannot be stored in float format )is showing sir

  • @saswatadas5489
    @saswatadas5489 Před 6 měsíci

    Can you give me the code to show precesion,recall and F1 score on test set addition to this code

  • @nandaydas8670
    @nandaydas8670 Před rokem

    can I use this model for leaf dease prediction?

  • @ratankj4402
    @ratankj4402 Před rokem

    Bhaiya congo for 40k

  • @sujithsaikalakonda4863

    Hello sir. Great playlist sir.

  • @dpxy1599
    @dpxy1599 Před 11 měsíci

    It was excellent for beginners

  • @_DebrajAcharjee_A
    @_DebrajAcharjee_A Před rokem

    How to show any random picture in my dataset ?

  • @priyanshugupta2104
    @priyanshugupta2104 Před rokem +1

    Sir pls make a video on k fold cross validation
    Sir maine abhut saara video dekha par usme acche se explain nahi Kiya gaya hai
    Aap ek video banao aur statistics par bhi video banao
    Apne playlist me dusre ka video daala hai
    Sir it's very important for me I am watching only your video , getting understand with your video only
    Humble request from honest student to best teacher

  • @user-dt3dc7wk1z
    @user-dt3dc7wk1z Před rokem

    Sir, If we will give another image of our model so, Our model what will give the result

  • @umangdobariya5680
    @umangdobariya5680 Před rokem

    very helpful video!

  • @goldgoddy1167
    @goldgoddy1167 Před 18 dny

    Which Ide is best for this

  • @anandachatterjee9179
    @anandachatterjee9179 Před měsícem

    How to get the confusion matrix, classification report and auc roc curve after this code? Kindly guide

  • @muhammadraheel3358
    @muhammadraheel3358 Před rokem

    If model provide lion image . model predict undefined class it is possible?

  • @md_shagaf_raiyan_rashid
    @md_shagaf_raiyan_rashid Před 2 měsíci +1

    Sir mai nahi samajh paya matlab pehle img ko kaise kaiss badalna hai wo nahi samajh paya sir pehle numpy array fir resize aur ffir bahut sa process sir plehse drtils me samjhaye

  • @pritishpattnaik4674
    @pritishpattnaik4674 Před rokem

    Sir ji mast explanation

  • @somijosee8750
    @somijosee8750 Před 11 měsíci

    which algorithm is use in this??

  • @samiullahpanhwar.6593

    Sir plz send me link about software I want to learn From basic

  • @oussamajmaa9205
    @oussamajmaa9205 Před rokem +1

    thanks a lot but please add English subtitles to your videos

  • @thearpitkatiyar637
    @thearpitkatiyar637 Před rokem +5

    Can You help me
    I write the whole project but when i give dog picture link then gives 0 Or i give cat picture it give 0 for both the picture
    what is wrong ?

    • @ayushtiwari7841
      @ayushtiwari7841 Před 2 měsíci

      either some issue while training or just the fact that the accuracy of the model isn't high enough to distinguish between the two images, besides, the images could be very similar to each other as well.

  • @user-yp5rb4lk6q
    @user-yp5rb4lk6q Před měsícem

    @CampusX mere me to create api token ka option hi ni hai khi.

  • @316-vinodkumarj3
    @316-vinodkumarj3 Před měsícem

    Good knowledge

  • @tadaaa9220
    @tadaaa9220 Před 13 dny

    You are the best.....😄😄😄😄

  • @ekramshethil7932
    @ekramshethil7932 Před rokem

    TypeError: Image data of dtype object cannot be converted to float
    I can't this type arror problem solve... please help me
    how can i solve this error ...............

  • @mavlonodev
    @mavlonodev Před 4 měsíci

    Great tutorial. The only problem is, I don't understand Indian.

  • @mlTS7626
    @mlTS7626 Před 2 měsíci

    Excellent tutorial !
    25:40 here, don't we need to normalize the pixel values before predicting? as the model is trained on the normalized data

    • @ayushtiwari7841
      @ayushtiwari7841 Před 2 měsíci

      i think it is not necessary to do so because he added the "batch normalization" layer after each convolution layer in the model which does the job for him already.

  • @harshvardhanpal4720
    @harshvardhanpal4720 Před 2 měsíci

    Thankyou very much

  • @sebastianbedowski7072
    @sebastianbedowski7072 Před 7 měsíci

    make a program to compare a square and a triangle so that when you show the photo it shows whether it is a triangle or a square

  • @attrey273
    @attrey273 Před rokem +2

    Not working. I am getting 0 from all images

  • @jamshaidkhan5246
    @jamshaidkhan5246 Před 3 měsíci

    But it works untill we are connected to internet. kaggle.json file expires and I have to restart all the process. any solution??

  • @kaziranga_national_park
    @kaziranga_national_park Před 11 měsíci

    Hii, how to classify images and automatically segregation move them to folder(s) based on their classification, you can use a combination of image processing techniques and file management tools.please help . Trapped camera images maximum 18 lakhs capture wild animals, storage extranal hard disk . Please help 🙏🙏🙏

  • @_MeherubHossainAsif
    @_MeherubHossainAsif Před rokem

    i getting both case are 1 how can solve?

  • @rajatkurhade1040
    @rajatkurhade1040 Před rokem +19

    sir my val_accuracy = 0.8650 and accuracy = 0.9843 I have increased 1 conv and pooling layer and , and increased 1 FC layer also, now working to avoid overfitting.

    • @GeekyGaming0
      @GeekyGaming0 Před rokem +1

      Hey can you send me the link of your source code because my code is all good but the output of my code is 0 for every input for dog and cat both

    • @harithapa9262
      @harithapa9262 Před měsícem

      ​@@GeekyGaming0 It's happened due to imbalance dataset

  • @kashishvarshney2225
    @kashishvarshney2225 Před rokem

    can we use same technique for accident detection
    Please anyone reply who knows the answer please

  • @kanhabansal524
    @kanhabansal524 Před rokem

    best playlist

  • @mdsaklinemostak926
    @mdsaklinemostak926 Před rokem +1

    I am getting 1 all time,,,how can i solve it?

  • @SanoManjiro-np1sy
    @SanoManjiro-np1sy Před rokem

    thank you for the efforrts and the information , but it would be better if you explain in english while coding , in order to beneffit all the audience from different countries , not just indians

  • @AsifAli-rr7wb
    @AsifAli-rr7wb Před 10 měsíci

    Thank you sir

  • @AshishSingh-xn4ju
    @AshishSingh-xn4ju Před 4 měsíci

    why my code is not supporting normalization and i am getting loss as nan as well as accuracy is not increasing

  • @harshavardhan6368
    @harshavardhan6368 Před rokem

    what is labels = inferred?

  • @113_kunalsapkal3
    @113_kunalsapkal3 Před 14 dny

    circular dependency for the process function how to resolve it

  • @rishabhgiri4874
    @rishabhgiri4874 Před 11 měsíci +2

    agar mera project oral cancer pe h...jisme cancerous images aur non cancerous images ko classify krna h cnn se...but nahi ho rha h...aur project ka graph ke beech ka gap kam h bina BatchNormalization aur Dropout ke, toh mei use nahi kru??
    meri accuracy mei 63% change ho rhi h bina BatchNormalization aur Dropout use kiye, aur jab use kr rha hoon toh 41% aaraha h??

    • @ayushtiwari7841
      @ayushtiwari7841 Před 2 měsíci

      1.try increasing the complexity of the model to see if it properly overfits the data, uske baad use the dropout layer and batch normalization.
      2. try using any one at a time like batch normalization or dropout layer and not together.

  • @annonymous6555
    @annonymous6555 Před rokem

    Please cover lightgbm and time series

  • @amritajoshi8729
    @amritajoshi8729 Před 3 měsíci

    Thanks

  • @srinivaspadhy9821
    @srinivaspadhy9821 Před 2 měsíci

    Sir please add Object Detection Lectures using RCNN Faster RCNN and YOLO Versions

  • @indranildas05
    @indranildas05 Před rokem

    Sir can i get report of this project

  • @DJ_Vlogs1701
    @DJ_Vlogs1701 Před rokem

    Sir normalisation me error aa rha h please correct code btaiye

  • @YadavSachin01
    @YadavSachin01 Před rokem

    sir kb hm xml file ka use krte h image classifications me any one tell me

  • @amritajoshi8729
    @amritajoshi8729 Před 3 měsíci

    THANKS A TON

  • @mainuddinali9561
    @mainuddinali9561 Před rokem

    great

  • @namanmodi7536
    @namanmodi7536 Před rokem

    thanks sir

  • @kanaparthyruthroselin2599
    @kanaparthyruthroselin2599 Před měsícem

    sir, how did you downloaded cat and dog image from google ?Time:24:47

  • @siddharthkarale3100
    @siddharthkarale3100 Před 4 měsíci

    Nice project, excellent explanation

  • @piyushpathak7311
    @piyushpathak7311 Před rokem

    Sir please start transfer learning and RNN

  • @richardjr.castuera924
    @richardjr.castuera924 Před 6 měsíci

    what if I used images other than dog and cat as test images, is the network will be able to predict if it is not a dog or a cat?

    • @ayushtiwari7841
      @ayushtiwari7841 Před 2 měsíci

      no, it is trained to predict if a particular image looks like a dog or a cat, so it will choose the prediction which seems closer to the image that has been input.

  • @ovaisqazi6708
    @ovaisqazi6708 Před 9 měsíci

    Can i use the same code if the dataset has 80 different animals instead of just cats and dogs?

    • @sumanthnimmagadda4472
      @sumanthnimmagadda4472 Před 4 měsíci

      yes u can but in last dense layer make the activation as 'sigmoid' and neurons as '79' in place of '1'.

  • @easylearning29
    @easylearning29 Před 10 měsíci

    Hi sir
    I trained model . It is with 98% accuracy. But do not predict correct.

  • @lalitagarwal9155
    @lalitagarwal9155 Před měsícem

    I am unable to find generator video on your channel, could you please share the link of your generator video sir..