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

Поделиться
HTML-код
  • Опубликовано: 4 июн 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

Комментарии • 188

  • @sachin2725
    @sachin2725 Год назад +20

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

  • @rajeshmhakave9606
    @rajeshmhakave9606 Месяц назад +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!!!!

  • @rakeshsoni5270
    @rakeshsoni5270 Год назад +4

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

  • @siyays1868
    @siyays1868 Год назад +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.

  • @techtonik7
    @techtonik7 Год назад +3

    Thank you Nitish sir for continuously putting your efforts!!

  • @aj_ai
    @aj_ai Год назад +5

    Enjoy your teaching style, all things to the point.

  • @beamngdrivegamebyayush140
    @beamngdrivegamebyayush140 Год назад +3

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

  • @ankitswain1828
    @ankitswain1828 5 месяцев назад +1

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

  • @magnets8264
    @magnets8264 Год назад +1

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

  • @indianengineer5802
    @indianengineer5802 Год назад +1

    Congratulations for 40K sir !

  • @ayushtiwari7841
    @ayushtiwari7841 2 месяца назад +1

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

  • @kagadevishal5008
    @kagadevishal5008 Год назад +4

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

  • @vivekyadav-eb1ic
    @vivekyadav-eb1ic 5 месяцев назад

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

  • @khandelwalmitesh3
    @khandelwalmitesh3 Год назад +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 ?

  • @rishabhvyas856
    @rishabhvyas856 Год назад

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

  • @hrmnde3p
    @hrmnde3p Год назад +1

    Which is best for NLP tensorflow or pytorch ?

  • @AdityaSharma-em8vz
    @AdityaSharma-em8vz Год назад

    Really helpful and informative videos!!!

  • @pashto.remixmusic
    @pashto.remixmusic 16 дней назад

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

  • @mathematicswithveer615
    @mathematicswithveer615 11 месяцев назад

    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

    • @aryangupta4372
      @aryangupta4372 8 месяцев назад

      can you share your notebook with me?

  • @RichaSharma-pf6eh
    @RichaSharma-pf6eh 5 месяцев назад

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

  • @mentalgaming2739
    @mentalgaming2739 3 месяца назад

    Very Good Sir , NIce Understanding Of Every Concept

  • @pranendu40
    @pranendu40 Год назад

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

  • @deeppatel_
    @deeppatel_ Год назад +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

  • @jayanthkothapalli9.2
    @jayanthkothapalli9.2 11 месяцев назад +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 10 месяцев назад +1

      uhhh what

    • @zolleresports
      @zolleresports 8 месяцев назад +1

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

    • @jayanthkothapalli9.2
      @jayanthkothapalli9.2 8 месяцев назад +2

      Sure

    • @zolleresports
      @zolleresports 8 месяцев назад +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 7 месяцев назад

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

  • @jyotirani9224
    @jyotirani9224 8 месяцев назад

    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

  • @akashbelkhede4449
    @akashbelkhede4449 Год назад

    Amazing one Nitish Sir

  • @omsairamconcept
    @omsairamconcept Год назад

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

  • @tarunkumardas8347
    @tarunkumardas8347 6 месяцев назад

    the topic is well explained in depth.

  • @UnKnowN__x2306
    @UnKnowN__x2306 10 месяцев назад

    did we shuffle our dataset before training??

  • @devarshinirachamalla5834
    @devarshinirachamalla5834 11 месяцев назад

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

  • @maaleem90
    @maaleem90 Год назад

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

  • @thelife5628
    @thelife5628 Год назад +4

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

  • @Haroonkhan-lh4kv
    @Haroonkhan-lh4kv Год назад

    Thank you sir I have learn alot of things

  • @avijitchowdhury1093
    @avijitchowdhury1093 Год назад

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

  • @dakshbhatnagar
    @dakshbhatnagar Год назад

    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.

  • @simonnaulet2118
    @simonnaulet2118 Год назад

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

  • @nikhiliyer8436
    @nikhiliyer8436 Год назад

    Please cover Callbacks,schedule learning rate ,tensorboard etc

  • @fiboXO
    @fiboXO Год назад

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

  • @ImranKhan-jn6zh
    @ImranKhan-jn6zh Год назад +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

  • @erwanerwan6196
    @erwanerwan6196 Год назад

    well done sir !

  • @nandaydas8670
    @nandaydas8670 Год назад

    can I use this model for leaf dease prediction?

  • @dpxy1599
    @dpxy1599 11 месяцев назад

    It was excellent for beginners

  • @saswatadas5489
    @saswatadas5489 7 месяцев назад

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

  • @pawarrohith2181
    @pawarrohith2181 Месяц назад

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

  • @umangdobariya5680
    @umangdobariya5680 Год назад

    very helpful video!

  • @ratankj4402
    @ratankj4402 Год назад

    Bhaiya congo for 40k

  • @AliyantTabish
    @AliyantTabish Год назад

    bhi ap ny buhat achi terhain samjaya hai

  • @thearpitkatiyar637
    @thearpitkatiyar637 Год назад +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 2 месяца назад

      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.

  • @AliAhmadae121
    @AliAhmadae121 9 месяцев назад

    new subscriber thank you so much for the ai projects

  • @somijosee8750
    @somijosee8750 11 месяцев назад

    which algorithm is use in this??

  • @_DebrajAcharjee_A
    @_DebrajAcharjee_A Год назад

    How to show any random picture in my dataset ?

  • @sujithsaikalakonda4863
    @sujithsaikalakonda4863 Год назад

    Hello sir. Great playlist sir.

  • @muhammadraheel3358
    @muhammadraheel3358 Год назад

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

  • @pritishpattnaik4674
    @pritishpattnaik4674 Год назад

    Sir ji mast explanation

  • @AsifAli-rr7wb
    @AsifAli-rr7wb 11 месяцев назад

    Thank you sir

  • @priyanshugupta2104
    @priyanshugupta2104 Год назад +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

  • @cartoonnclubb
    @cartoonnclubb 3 месяца назад

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

  • @kanhabansal524
    @kanhabansal524 Год назад

    best playlist

  • @mlTS7626
    @mlTS7626 2 месяца назад

    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 2 месяца назад

      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.

  • @rajatkurhade1040
    @rajatkurhade1040 Год назад +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 Год назад +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 Месяц назад

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

  • @narendraparmar1631
    @narendraparmar1631 6 месяцев назад

    Thanks

  • @namanmodi7536
    @namanmodi7536 Год назад

    thanks sir

  • @samiullahpanhwar.6593
    @samiullahpanhwar.6593 Год назад

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

  • @mainuddinali9561
    @mainuddinali9561 Год назад

    great

  • @harshavardhan6368
    @harshavardhan6368 Год назад

    what is labels = inferred?

  • @goldgoddy1167
    @goldgoddy1167 20 дней назад

    Which Ide is best for this

  • @user-dt3dc7wk1z
    @user-dt3dc7wk1z Год назад

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

  • @kashishvarshney2225
    @kashishvarshney2225 Год назад

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

  • @harshvardhanpal4720
    @harshvardhanpal4720 2 месяца назад

    Thankyou very much

  • @316-vinodkumarj3
    @316-vinodkumarj3 Месяц назад

    Good knowledge

  • @rishabhgiri4874
    @rishabhgiri4874 11 месяцев назад +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 2 месяца назад

      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.

  • @mavlonodev
    @mavlonodev 4 месяца назад

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

  • @kaziranga_national_park
    @kaziranga_national_park Год назад

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

  • @sebastianbedowski7072
    @sebastianbedowski7072 7 месяцев назад

    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

  • @_MeherubHossainAsif
    @_MeherubHossainAsif Год назад

    i getting both case are 1 how can solve?

  • @attrey273
    @attrey273 Год назад +2

    Not working. I am getting 0 from all images

  • @amritajoshi8729
    @amritajoshi8729 3 месяца назад

    THANKS A TON

  • @user-yp5rb4lk6q
    @user-yp5rb4lk6q Месяц назад

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

  • @annonymous6555
    @annonymous6555 Год назад

    Please cover lightgbm and time series

  • @ekramshethil7932
    @ekramshethil7932 Год назад

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

  • @tadaaa9220
    @tadaaa9220 15 дней назад

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

  • @richardjr.castuera924
    @richardjr.castuera924 6 месяцев назад

    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 2 месяца назад

      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.

  • @mdsaklinemostak926
    @mdsaklinemostak926 Год назад +1

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

  • @oussamajmaa9205
    @oussamajmaa9205 Год назад +1

    thanks a lot but please add English subtitles to your videos

  • @anandachatterjee9179
    @anandachatterjee9179 Месяц назад

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

  • @flakky626
    @flakky626 8 месяцев назад

    Guys help me out with gpu cuda installation in jupyter with/without using anaconda

  • @jamshaidkhan5246
    @jamshaidkhan5246 3 месяца назад

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

  • @indranildas05
    @indranildas05 Год назад +3

    Sir for both ta cases I get 1 what should I do

  • @ovaisqazi6708
    @ovaisqazi6708 9 месяцев назад

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

    • @sumanthnimmagadda4472
      @sumanthnimmagadda4472 4 месяца назад

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

  • @ashwaniyadav3446
    @ashwaniyadav3446 10 месяцев назад +2

    Sir i got accuracy=98.40 and val_accuracy=89.34 with the help of l2 regularisation and add one more conv(256) layer and one more FC(256) layer

    • @b.srikar3182
      @b.srikar3182 10 месяцев назад

      hello bro can you please share the source code because i am getting error

    • @RohitKumar-mj1yg
      @RohitKumar-mj1yg 8 месяцев назад

      bro can you share the code

  • @YadavSachin01
    @YadavSachin01 Год назад

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

  • @sandipansarkar9211
    @sandipansarkar9211 Год назад

    finished watching

  • @SanoManjiro-np1sy
    @SanoManjiro-np1sy Год назад

    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

  • @indranildas05
    @indranildas05 Год назад

    Sir can i get report of this project

  • @md_shagaf_raiyan_rashid
    @md_shagaf_raiyan_rashid 3 месяца назад +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

  • @srinivaspadhy9821
    @srinivaspadhy9821 2 месяца назад

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

  • @AshishSingh-xn4ju
    @AshishSingh-xn4ju 4 месяца назад

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

  • @113_kunalsapkal3
    @113_kunalsapkal3 16 дней назад

    circular dependency for the process function how to resolve it

  • @transform2532
    @transform2532 Год назад

    Notes to Self: @ 8:07 Generators in Keras.

  • @researcher7410
    @researcher7410 3 месяца назад

    Sir please make a video on pytorch