Image classification using CNN (CIFAR10 dataset) | Deep Learning Tutorial 24 (Tensorflow & Python)

Поделиться
HTML-код
  • Опубликовано: 23 окт 2020
  • In this video we will do small image classification using CIFAR10 dataset in tensorflow. We will use convolutional neural network for this image classification problem. First we will train a model using simple artificial neural network and then check how the performance looks like and then we will train a CNN and see how the model accuracy improves. This tutorial will help you understand why CNN is preferred over ANN for image classification.
    Code: github.com/codebasics/deep-le...
    Exercise: Scroll to the very end of above notebook. You will find exercise description and solution link
    Do you want to learn technology from me? Check codebasics.io/?... for my affordable video courses.
    Deep learning playlist: • Deep Learning With Ten...
    Machine learning playlist : ruclips.net/user/playlist?list...
    #cnn #cnnimageclassification #imageclassificationpython #cnnmodel #deeplearning #tensorflowimageclassification #pythonimageclassification
    🌎 My Website For Video Courses: codebasics.io/?...
    Need help building software or data analytics and AI solutions? My company www.atliq.com/ can help. Click on the Contact button on that website.
    #️⃣ Social Media #️⃣
    🔗 Discord: / discord
    📸 Dhaval's Personal Instagram: / dhavalsays
    📸 Codebasics Instagram: / codebasicshub
    🔊 Facebook: / codebasicshub
    📱 Twitter: / codebasicshub
    📝 Linkedin (Personal): / dhavalsays
    📝 Linkedin (Codebasics): / codebasics
    🔗 Patreon: www.patreon.com/codebasics?fa...
    DISCLAIMER: All opinions expressed in this video are of my own and not that of my employers'.

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

  • @codebasics
    @codebasics  2 года назад +8

    Do you want to learn technology from me? Check codebasics.io/ for my affordable video courses.

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

      sir plese plese reply i am doing a project on pcb defect detection using cnn model please help me out i am not getting it please help me

  • @lucianoval903
    @lucianoval903 3 года назад +57

    From Brazil, you are the best ML teacher!!! Thank you.

    • @codebasics
      @codebasics  3 года назад +6

      Thanks Luciano for your kind words

  • @nilanjanap
    @nilanjanap 2 года назад +27

    Excellent tutorials much better than many highly paid course floating online..Thanks a lot sir ..your videos helped me lot ...

  • @rb4754
    @rb4754 8 месяцев назад +7

    Your tutorials are truly outstanding, surpassing many paid online courses. I want to express my deep appreciation for the invaluable support they've offered. Your detailed explanations of each code line have been incredibly helpful, particularly when I'm teaching machine learning to my students. Your videos provide a level of comprehension and utility that distinguishes them from other machine learning resources. Your efforts are greatly appreciated... Cheers!!!!!!!!!!!!!!!!💥💫💢

  • @albertoramos9586
    @albertoramos9586 2 года назад +28

    You are so much better than my university tutors :-D Thanks a lot for your help!

  • @Manojrohtela
    @Manojrohtela 2 года назад +1

    as you teach all concepts even a primary student can understand it easily. Seriously big fan of your teaching style

  • @tesfitgi7579
    @tesfitgi7579 5 месяцев назад

    Indeed you are an excellent tutor. Your efforts are greatly appreciated .I am fun of you. I AM an AI and machine learning outreach ,you pave me the way .Thanks a lot for you support

  • @ChessLynx
    @ChessLynx 2 года назад +6

    I am a young Ai and machine learning engineer from a IIIT and your videos are like food for me if i don't eat then I can't live .Great explanation ...
    finally I commented after watching tons of your videos daily . Salute to your spirit sir you will reach 10 M subs soon cause AI and ML is growing exponentially and your videos in this direction in serving as no. 1 you tube channel for simple explanations on Practical AI,ML coding and more people will join with you soon and soon...

    • @codebasics
      @codebasics  2 года назад +2

      Ha ha .. thanks for your kind words of appreciation my friend :)

  • @bhaskargg6018
    @bhaskargg6018 2 года назад +2

    the important CNN concept is explained in superb and simple to understand , Thanks a lot

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

    Excellent tutorials much better than my professor! You are the best! thank you so much! your videos helped me a lot....

  • @mayankpatil7303
    @mayankpatil7303 2 года назад +2

    Thank you sir! Teaching is also a skill and you nailed it!

  • @bumjunoh6233
    @bumjunoh6233 2 года назад +10

    From South Korea, Learning Much Faster, Accurate than Univ. Thanks

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

    Very good explanation with a clear easily understandable video. Thank you for your tutorial. Loved it.

  • @Lina-cy9ln
    @Lina-cy9ln 2 года назад

    You are the best teacher of mine. I'm grateful to you always. Thanks a lot, sir.

    • @codebasics
      @codebasics  2 года назад

      Zeenat, thanks for you kind words

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

    REALLY A GOOD VIDEO , i finally understood implementing CNN using CIFAR10

  • @rishavbhattacharjee7182
    @rishavbhattacharjee7182 3 года назад +3

    Exciting Times!! May this series long continue😁

    • @codebasics
      @codebasics  3 года назад +7

      yes it will. My goal is to cove all the topics and make this your one stop place for deep learning

  • @prachidoshi9082
    @prachidoshi9082 3 года назад +2

    how come you tube did not recommend me this way before. Your videos are just perfect for people who want to learn Deep Learning and want to overcome the fear of AI

  • @archenemy49
    @archenemy49 2 года назад

    You are really inspirational and have so much to idolize. Thank you!

  • @sukumarroychowdhury4122
    @sukumarroychowdhury4122 3 года назад

    Mr. Modi (Mr. Patel) is one side and rest Opposition (Data Science RUclipsr) is on the other side.
    I really envy you (ONIDA TV) and you command that envy with your highest excellence.
    I am a retired Sr. Citizen and love data science (not because I understand it) but because of the amazing things that Amazon and Tesla and Google are doing..
    Please keep going..and may God give you a very long life..

  • @santoshkumarmishra441
    @santoshkumarmishra441 3 года назад

    great job sir.....keep making videos love to watch and learn from your videos

  • @yoverale
    @yoverale 25 дней назад

    Amazing tutorial, thanks a lot for sharing! Saludos desde Argentina! 🇦🇷

  • @sabrinazahir01
    @sabrinazahir01 3 года назад +19

    I started to learn ml after getting inspirations from your videos. Thank you !

  • @lindadelalifiasam5878
    @lindadelalifiasam5878 2 года назад +2

    thank you soo much. from the knowledge i gained from this video, i decided to also increase the number of epochs in the first network(ann) from 5 to 10 and that led to a slight increase in the training accuracy(0.49 to 0.54). and for the cnn i intentionally decided first use the SDG optimizer and later the adam which also gave two different but better results than the ann. i also adjusted the epochs in each case. this has given me some more ideas to play around with, with regards to this model. once again thank you for bn such a great teacher

    • @ahmedhelal920
      @ahmedhelal920 2 года назад

      me too i searched for my issue accuracy was 10 % and no increase however i increased hidden layers epochs , but what help me is changing the softmax to sigmoid and the number of hidden units it was 4 on my project here i found it 3000 , it increase my accuracy too , but based on what he choosed 3000 and 1000 hidden units ?

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

      @@ahmedhelal920 More hidden units will recognize more patterns and more features, which will help if your images have many patterns and objects. It is always recommended to use more hidden units on layers and decrease it after every layer to reach a better solution.

  • @gauravshah8554
    @gauravshah8554 3 года назад +1

    You are superb in teaching. Please make video on how to deploy such trained models to production.

  • @saadmuhammad4890
    @saadmuhammad4890 3 года назад

    Thank you so much! Your tutorials are very helpful

  • @user-ry5ks3hg6y
    @user-ry5ks3hg6y 3 года назад +1

    Thank you a lot! You helped me with my project!

  • @sohailali5741
    @sohailali5741 3 года назад +3

    Thank you so much for detailed tutorial. Can you please make a video on Object detection? Specially Faster RCNN and Yolo models.

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

    Excellent content! Thank you very much.

  • @pawanagrawal7653
    @pawanagrawal7653 3 года назад

    sir I am really appreciated, the way you teach all the concepts related to CNN, and how to build it,
    sir how can get more accuracy using Keras tuner, please make a video on that.

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

    someone give this man a life elixir, he must give this knowledge for all the future generations

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

    I love your way of teaching

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

    Excellent demo, saved my time.

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

    Thank you, It is a great tutorial😍 on CNN

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

    really good explanations. thanks for your great help

  • @AdityPai
    @AdityPai 3 года назад +1

    Thank you for the efforts you put in all these vedios, it is giving us a clear image of what is happening in each part. Thanks alot

  • @priyanshujadon3442
    @priyanshujadon3442 3 года назад

    Your videos are very good...you explain every line of code...it really helps me a lot to teach ML to my students...your videos are even more useful then other ML videos...👌😊

  • @mehdisoleymani6012
    @mehdisoleymani6012 2 года назад +1

    Thanks a lot for your great courses, is it possible for you to explain my question? How should we add non-image features to our CNN model (features like cat and dog prices) to our flatten layer? Does the CNN model new added features belong to which input image?

  • @BhautikaPatel-gg3ij
    @BhautikaPatel-gg3ij 2 месяца назад

    All the way superb!!!! All videos.

  • @pa5119
    @pa5119 3 года назад +3

    Such a Good Content.
    I am really exciting for upcoming videos.

  • @moinafatima7990
    @moinafatima7990 3 года назад +1

    You are doing an amazing work.. I really get intrest in ml after watching your video explanation..
    Sir I'm work on project "image classification using deep neural network" The data set is *CIFAR 10*. Paper on which I'm working it already has 80.2% of accuracy . So by using deep neural network algorithms can I make accuracy beyond 80%

  • @khanwali9672
    @khanwali9672 3 года назад +1

    Hi Thank you for all your tremendous work you make fall in love with Machine learning. don't you dare to stop;) Thank you so so so much.

    • @codebasics
      @codebasics  3 года назад +3

      Thanks for your kind words khan ☺️ and yes now after reading your comment I am not going to stop 😉

    • @khanwali9672
      @khanwali9672 3 года назад +1

      @@codebasics bless you.

  • @8shounak
    @8shounak 3 года назад

    very nicely explained brother. Loved the teaching style and followed the explanation

  • @sankistudio1771
    @sankistudio1771 14 дней назад

    Thank you sir, excellent explanation

  • @RanjitSingh-rq1qx
    @RanjitSingh-rq1qx Год назад

    Tq u 💯 much sir, this video is very helpful.😍❤️🌹👍🥰🇮🇳

  • @snehasneha9290
    @snehasneha9290 3 года назад +1

    Tq so munch sir for continuing this series amazing content supreb nice explantion

    • @codebasics
      @codebasics  3 года назад

      You're most welcome sathiya

  • @aloksheth7477
    @aloksheth7477 2 года назад

    Thanks for nice explanation. Easy to understand the concepts. Can you make video for region CNN and faster R CNN?

  • @elma2577
    @elma2577 2 года назад

    Excellent explanation. 👏

  • @JapiSandhu
    @JapiSandhu 3 года назад

    Awesome really like the face to face introduction

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

    Thank you very much sir for this 😊

  • @bassemessam3002
    @bassemessam3002 3 года назад +2

    Thank you so much for this great tutorial. It is really helpful. I have a question, you used 'sparse crossentropy' in prediction and it's supposed to return the class number but the output of y_pred is an array of the probability of each class, and to get the predicted class we used argmax function to get the index of maximum value?

    • @vaishalibalaji886
      @vaishalibalaji886 2 года назад +1

      Hello Bassem, "Sparse categorical cross entropy" is the loss function to be used when the actual output Y in the dataset is not in the one hot encoded format. And, sir has used "softmax" as the final activation function in the code showed in the video. It is because of this function that the final output, y_pred is an array of the probability of each class. Hence, finally in order to get the index position of the maximum probability value, which is typically the output class predicted by the CNN model, sir has used the np.argmax function.

  • @maxgriffiths6968
    @maxgriffiths6968 3 года назад

    Excellent video. Thank you

    • @codebasics
      @codebasics  3 года назад

      I am happy this was helpful to you.

  • @mekdesmekonnen2242
    @mekdesmekonnen2242 2 года назад

    Brilliant!

  • @tomcat9761
    @tomcat9761 2 года назад +2

    Nice tutorial sir. Can you create a chatbot using ANN? I would like to know how you will test that. Thanks!

  • @sanooosai
    @sanooosai 5 месяцев назад

    great sir thank you

  • @samirkouiderbouabdallah9392
    @samirkouiderbouabdallah9392 3 года назад

    thank you very much sir

  • @mach9libra
    @mach9libra 3 года назад +2

    Hello, can you please guide for the K-NN, MLP, CNN, Decision Tree, K-Mean Clustering, regression to solve this CIFAR-10 dataset problem. And compare the accuracies for each of the methodologies used.

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

    Very lucid explanation

  • @shreyasb.s3819
    @shreyasb.s3819 3 года назад

    Really nice video...its helped me lot...
    I want you to start Audio, Video processing tutorial also because I like it your teaching skills.

  • @a57_nikeshsinghajaysinghba89
    @a57_nikeshsinghajaysinghba89 3 года назад +4

    Can you suggest some good final year project ideas related to image classification.
    I'll be grateful

  • @payamtorna2
    @payamtorna2 2 года назад

    very nice videos thank you so much bro :)

  • @tonyennis1787
    @tonyennis1787 2 года назад +1

    Great video. I was hoping you'd visualize the CNN kernels so we could see what they looked like. You specified 32 of them. Does this mean that all 32 are used in every image, and thus are meaningful in every case? that is, you won't have one what has a koala's eyes because the input images also include, say, rocks, buildings, and GPU cards?

  • @jeffallenmbaagborebob5869
    @jeffallenmbaagborebob5869 3 года назад

    You are the best by far

    • @codebasics
      @codebasics  3 года назад

      I am happy this was helpful to you.

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

    GREAT SIR

  • @debojyotisinha5031
    @debojyotisinha5031 3 года назад +1

    Your approach is very well. You can explain the topics so well and easy to understand the complex topic.

    • @codebasics
      @codebasics  3 года назад

      Glad to hear that, I am happy this was helpful to you.

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

    Hi, thanks for the clear explanation. I was wondering why you did not use softmax activation function in the last layer instead of sigmoid? As far as I know, softmax is preferred in multiclass problems (like in this case) and sigmoid is used for binary classification problems. Let me know and I appreciate your answer in advance.

  • @notavailable3331
    @notavailable3331 3 года назад

    thanks a lot sir for your explanation. i got accuracy of 98.97% using cnn model

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

    Very nice explanation on CNN....
    how you can simplify such complex topics ? You must be having rich experience in this field...😊

  • @jyotiprakashnayak2117
    @jyotiprakashnayak2117 3 года назад

    Realy sir I like your teaching way

  • @daggerdudes9211
    @daggerdudes9211 3 года назад +5

    Your classes are really beginner friendly and I have a doubt will adding more layers improves the accuracy

    • @codebasics
      @codebasics  3 года назад +2

      yes it might. you can try adding them. sometimes too many layers will overfit a model and while accuracy improves on training set, on test set it might perform poorly. You can use regularization techniques such as adding dropout layer to tackle these issues partially

  • @alexandrosiii5676
    @alexandrosiii5676 3 года назад +1

    I want to use the weights in the hardware upper model in the model. So how do I print out that weight (I'm a beginner)

  • @user-xy5sd8my2e
    @user-xy5sd8my2e 3 года назад

    I’m from Taiwan. It’s really helpful

  • @AHMADKELIX
    @AHMADKELIX 2 года назад

    permission to learn sir. thanks you

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

    can i use a similar cnn for object recognition? I want to give multiple labels for each image and in the output i would need the bounding boxes and the corresponding predicted label. How to prepare the dataset accordingly if i were to implement a cnn implemented in the video?Or are there any other deep learning models i could build for this application?

  • @khalilturki8187
    @khalilturki8187 2 года назад

    Great Work! keep it up!

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

    awesome

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

    I found something very important. When you reshape your y into 1 dimension, save it in a different variable and use the original one (2d) in the training and test process. Otherwise, the results change a lot

  • @amazighkab9904
    @amazighkab9904 2 года назад

    amazing

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

    Could you explain in detail about the reshaping process, on why its necessary ?

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

    Great video thank you for your efforts in creating this , just a small doubt when I replicated the ANN model and ran the code without normalizing the data X_train and test Im getting 100% accuracy in train as well as test where as after normalizing it comes down to 50% and in this video you said then normalization is done to increase the accuracy then how is it happening? (Thank you in for your answer)

  • @rulaalsamarie3607
    @rulaalsamarie3607 2 года назад

    Thank you 🙏

  • @biswajitpatra5411
    @biswajitpatra5411 2 года назад

    @codebasics why flattening again in model when reshape() is used to do it ??

  • @kmedia5759
    @kmedia5759 2 года назад

    Thank you
    model.evaluate:10000/10000 [==================] - 1s 57us/sample - loss: 0.0275 - accuracy: 0.9910

  • @kanishkabanerjee1350
    @kanishkabanerjee1350 3 года назад

    Sir thanks for an amazing video. I am having a little trouble visualising the numpy array and how the pixel values are stored to eventually form the image, any video link you'd suggest for that please?

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

      from keras.datasets import cifar10
      (x_train, y_train), (x_test, y_test) = cifar10.load_data()
      x_train[0] will give you the arrays as 0 is the row recall, 1 is the column.

  • @dariovicenzo8139
    @dariovicenzo8139 2 года назад

    Hi beautiful video! I have some special image in Black and white to be classified. I have two questions:
    1. Do you think it is better to colorize them in order to improve the predicion?
    2. If yes at the first question, what is a suitable technique to add colors?
    Thanks a lot.

    • @prvs2004
      @prvs2004 2 года назад

      Not necessary as long as your test or prediction is also B&W

  • @nikhildaram3354
    @nikhildaram3354 4 месяца назад +2

    how to split the image data into training and testing in folders

  • @deepaliaggarwal6429
    @deepaliaggarwal6429 2 года назад

    I have one doubt.. like here we are working for colored images , we have 3 channels RGB , so do we need filters also different for all the channels or there will be only 1 filter?

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

    I love your lectures Sir ! Thank you for your efforts and works. I have question , how did you Get accuracy ~90% with 10 epochs while i get hardly 10% with 25+ epochs?

  • @a57_nikeshsinghajaysinghba89
    @a57_nikeshsinghajaysinghba89 3 года назад

    Hey your content is great!!
    I just wanted to make a request that datasets of image classification are generally folder based like for example when we download a dataset from kaggle, so I request you to please share a video or any good resource to read the images from folders and use it like we have used it in this video for image classification.
    Thank you!

    • @codebasics
      @codebasics  3 года назад +1

      yes I have covered that in my sports celebrity classification project. Check it out. it is an entire playlist but the thing that you mentioned is covered in one of the videos.

    • @a57_nikeshsinghajaysinghba89
      @a57_nikeshsinghajaysinghba89 3 года назад

      @@codebasics Thank you very much!!

  • @kirankumarb2190
    @kirankumarb2190 3 года назад +4

    Sir, one small doubt.. you said that we can use categorical_crossentropy when there is one hot encoded output pattern.. but in this example we used sparse_categorical_crossentropy , but still we used 10 output neurons and output was considered as max of that...which is like one hot encoding only right..

    • @siddharthsingh2369
      @siddharthsingh2369 2 года назад

      The 10 output neurons gives the probability of each true possibility and its value will be ranging in 0 - 1 and in order to get the index position of the maximum probability value, which is typically the output class predicted by the CNN model, we used the np.argmax function.
      i got an answer from stackExchange -
      If your Yi's are one-hot encoded, use categorical_crossentropy. Examples (for a 3-class classification): [1,0,0] , [0,1,0], [0,0,1]
      But if your Yi's are integers, use sparse_categorical_crossentropy. Examples for above 3-class classification problem: [1] , [2], [3].
      For complete explanation check this -
      stats.stackexchange.com/questions/326065/cross-entropy-vs-sparse-cross-entropy-when-to-use-one-over-the-other

  • @mukthaaa3506
    @mukthaaa3506 3 года назад

    Sir, can you please show us how to plot the accuracy curve for the cnn model

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

    We should use softmax for multiclass classification right?. But here we used sigmoid? How is it executing?

  • @ajaykundu6446
    @ajaykundu6446 3 года назад +1

    Sometimes i have thoughts in my mind that is this really happening or is this valuable( i am not judging or not even assuming) as this type of course are paid and with huge amount of money with high demand but how you can give this for freeee ???????
    How sir how ???
    Hats off👍👍👍👍👍and big thanks 👌👌👌
    🙏🙏🙏🙏
    I think this learning won't be stopped ever from you.

    • @codebasics
      @codebasics  3 года назад +2

      ha ha... that's a nice way of appreciating my work Ajay. Thank you. Well this course is not free, the fee you need to pay is share this with as many as you can (via linkedin, watsapp, facebook groups, quora etc) :)

    • @ajaykundu6446
      @ajaykundu6446 3 года назад

      @@codebasics will do it definitely
      ✌✌Long live developers👍👍👍

  • @ahmedhelal920
    @ahmedhelal920 2 года назад

    Hi sir , based on what we can choose 3000 hidden units and 1000 hidden units on our project ?

  • @XChinaX00
    @XChinaX00 2 года назад +1

    Thank you for the awesome tutorial. I have one question. Is there a way so I could give a path to one folder and then it would classify images which are in it using this model?

    • @codebasics
      @codebasics  2 года назад +1

      Yes you can use tensorflow dataset pipeline for that watch TF data pipeline tutorial in this same playlist

    • @XChinaX00
      @XChinaX00 2 года назад +1

      @@codebasics Thank You, I'll definitely watch it.

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

    I hope you are doing...I had an assignment of image classification and we were suppose to make a confusion matrix I searched on your channel ...and couldn't find any related to confusion matrix. Please make one on that

  • @zaindurani8168
    @zaindurani8168 3 года назад +1

    No one in universe can teach like this

    • @codebasics
      @codebasics  3 года назад

      Thanks zain for your kind words

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

    please explain that, why you reshape x_train in exercise, and also change input_shape in conv2D

  • @shaantanukulkarni5668
    @shaantanukulkarni5668 3 года назад

    nice!!!

  • @wiekiangh.2542
    @wiekiangh.2542 3 года назад +1

    great tutorial and I enjoyed it! However, what if I want to classify new images which not in CIFAR dataset, for an instance, I want to classify a butterfly breed. Any suggestion?

    • @codebasics
      @codebasics  3 года назад +2

      For that you need to add images of butter fly breed in this dataset and train the model again.

    • @wiekiangh.2542
      @wiekiangh.2542 3 года назад

      @@codebasics Thanks for your reply. Can you give me some clue or code on how to add the new images into the existing dataset to re-train the model with CNN? Do I need to annotate those images if those are not in the cifar, imagenet, coco and google open images? I see that in your last video mentioned about these data source, however, I didn't see any info how to add and train custom dataset.

  • @kapilchauhan7954
    @kapilchauhan7954 2 года назад +1

    Sir, I've a question suppose I have 3 categories cat, dog and hen. Each have 10 images stacked one after another, ie first 10 for cat, then 10 for dog and then hen.
    My doubt is, if I train my neural network for first 10 image of cat, my accuracy for cat will be high, but now when I train that network for dog images it's accuracy for cat data will decrease, and similar it will further decrease again for hen images.
    Suppose we have over 1000s of categories, the accuracy of anyone will be very low. How to deal with this problem. And also, Am I getting a correct feel of Ann or CNN?
    Thanks you very much sir♥️