Train Neural Network by loading your images |TensorFlow, CNN, Keras tutorial

Sdílet
Vložit
  • čas přidán 8. 05. 2020
  • #clustering #python #machinelearning
    Link for my deeplearning udemy course coupon code added
    www.udemy.com/course/linear-r...
    This is the tutorial is for crating your a neural network and training with your own photos. I have used tensorflow keras and ImageDataGenerator to build this neural network. All data labeling is done with help of ImageDataGenerator . convolutional neural network with max pooling and dense layers is used for building up the model.
    follow me on Facebook
    / when-maths-meets-codin...
    #deeplearning #neuralnetwork #artificialintelligence

Komentáře • 489

  • @whenmathsmeetcoding1836
    @whenmathsmeetcoding1836  Před 3 lety +20

    if you liked the content please support by subscribing 😇
    1. here is the video for multiclass:---- czcams.com/video/1Gbcp66yYX4/video.html
    2. here is video for object detection with tensorflow:----- czcams.com/video/_TCUPl3j2kI/video.html
    3. here is video for object detection with YoloV3:------ czcams.com/video/zm9h4mYymk0/video.html

    • @samesho7190
      @samesho7190 Před 3 lety

      Great tutorial!!! thanks. Here, I noticed you didn't normalize your test data, don't you think this might have had a negative impact on your prediction in some way? Since your model was trained and evaluated on normalized data. Although at 1st glance it doesn't seem so.

    • @muhammadtalha2493
      @muhammadtalha2493 Před 3 lety

      Hello sir, How to upload only one data set folder like chech happy or not
      no need to check the saad, just happy folder so what channges i have to make in code

    • @muhammadtalha2493
      @muhammadtalha2493 Před 3 lety

      i need to check weather this is a plant leaf or not for my semester project so it will alot of help if you tell the code for single data set that the given image is the same or not in testing

    • @bibhuprasaddora1776
      @bibhuprasaddora1776 Před 3 lety +5

      Bro please give the code lines link

    • @camilo40
      @camilo40 Před 3 lety

      Hi, we use the same pictures in training and validation? or we use diferent?

  • @danielpinto1628
    @danielpinto1628 Před 3 lety +61

    You know, here in Brazil us IT people praise IT people from your region.

  • @pronoybiswas3810
    @pronoybiswas3810 Před 2 lety +28

    This is the exact tutorial I am looking for. Thank you very much. You described all the steps in the most simplified way. This tutorial will help me a lot in my project so thank you again.

  • @imanqoly
    @imanqoly Před rokem +9

    This is most awesome and most humble tutorial I've ever seen. Despite many other tuts that more like "watch me code" and throwing a line of code with complex variable naming to show off. Thank you.

  • @yepnah3514
    @yepnah3514 Před 3 lety +12

    oh god, i spent HOURS trying to figure out my errors. you helped in five minutes!

  • @Sehmiconductor
    @Sehmiconductor Před rokem

    Thank You bro. After building 3 models I forgot the most basic thing, prediction on single random image file. Your video solved my issue. Much love from my side.

  • @TrendingHashtags-bt7tz
    @TrendingHashtags-bt7tz Před 2 měsíci +3

    Crystal clear implementation of CNN

  • @120_sagarikadeb8
    @120_sagarikadeb8 Před 3 lety

    This is the best video that I have come so far. Thank you so much Sir!!

  • @user-kq5cd7bd3o
    @user-kq5cd7bd3o Před 3 lety +1

    The first working tutorial!!! Thanks a lot

  • @sanskritisrivastava2242
    @sanskritisrivastava2242 Před 2 lety +7

    Excellent tutorial😍 can’t thank you enough!🙌🏻🔥

  • @EternalNoobCoder
    @EternalNoobCoder Před rokem +3

    Exactly what I was looking for. Wonderful video and well explained. Thank You ❤️❤️❤️

  • @sergiocorrea7889
    @sergiocorrea7889 Před 2 lety +3

    Thanks a lot , this is exactly what i was looking for. Great job man!

  • @chrisber
    @chrisber Před 2 lety +1

    This is an excellent tutorial, thank you so much!

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

    Life saver, Was working on a college level project where i had to create my own dataset with small size and was searching N number of videos on them but failed every time, Your video made me to complete the process in a very short time Thankyou so much

  • @nonig249
    @nonig249 Před 3 lety +9

    After being stuck a whole day, I prayed for wisdom and bumped into your video. You are an answered prayer. Very grateful for your content. Keep at it. #NewSub

  • @jitensethi4668
    @jitensethi4668 Před 3 lety +2

    Sir I don't know how to express my feelings u are great ❤️❤️ keep going sir

  • @cassiemst4993
    @cassiemst4993 Před 3 lety +4

    Thank you much for the video!! i really enjoy it and helped me a lot to understand more about CNN

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

    The best video ever for a person who studies deep learning and cnn ❤😍🔥

  • @sarveshsant5614
    @sarveshsant5614 Před rokem +2

    Thanks, Man for explaining this in the easiest way🙌

  • @sanskritisrivastava2242
    @sanskritisrivastava2242 Před 2 lety +4

    wonderful tutorial. Thankyou so much. Just one request, Can you pls make a tutorial on how to evaluate this model by confusion matrix,F1score etc?

  • @kajalyadav4246
    @kajalyadav4246 Před rokem

    Amazing !! True life saviour. I was looking for exactly the same.

  • @salsabilashraf3713
    @salsabilashraf3713 Před rokem

    Thank you so much for this video. Cannot appreciate enough!

  • @LeenaGurgPhysics
    @LeenaGurgPhysics Před 3 lety +4

    Your video is very good. I found it extremely useful. Maybe you could rethink the tags for your video so that it shows up quickly in the search.

  • @nurulizzahluthfiahnur1122

    Thankyou so much, its really help me, i can use my own image and its awesome

  • @aimanjavid8441
    @aimanjavid8441 Před 2 lety

    Superb...
    No word for thanks and appraisal .
    good keep it up

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

    great job explaining it, you're a great teacher

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

    Excellent ji.Really very good explanation with real time image's 🎉🎉🎉

  • @SportSync_official
    @SportSync_official Před 2 lety +3

    Legend, thanks for explaining. i am finally able to put everything i learned about this in practice thanks :)

    • @ousmanealamakaba3135
      @ousmanealamakaba3135 Před 2 lety

      hi brother i am confused . i need your help .this lab is important to me?

  • @carloseduardoa.marchiori5598

    Amazing job! Thank you so much for that

  • @bryan_dx
    @bryan_dx Před 2 lety

    Excellent I just finished it and it recognized most of my images (maybe could it have recognized everyone if I had used more images for training), thanks a lot.

    • @gedekresna3237
      @gedekresna3237 Před 2 lety

      there's no "basedata/test" folder isnt it? how you can finished it?

  • @joaofonseca528
    @joaofonseca528 Před 3 lety +3

    Hello, This helped me a lot but One question what chances would you make if we introduced a third output lets say neutral.
    Thanks

  • @sharveensmith9947
    @sharveensmith9947 Před 3 lety

    Pls do a tutorial for using and training datasets for Mask RCNN as well, your videos helped alot

  • @mageshdanani
    @mageshdanani Před 3 lety +1

    Great bro ...!!! Very good explanation with appropriate pace ...!! Thank you bro !!

  • @wafazouari7065
    @wafazouari7065 Před 3 lety +1

    you are a wonderful human being

  • @calvinatuhaire3116
    @calvinatuhaire3116 Před rokem

    great tutorial, could you kindly show how to display the results with a confusion matrix?

  • @neilsumanth8013
    @neilsumanth8013 Před 3 lety +1

    Thank you very much for this kind of good explanation!

  • @rvrocks1000
    @rvrocks1000 Před rokem

    Very well explained and to the point

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

    this tutorial is really good. thank you so much

  • @sanjaypatil-jq8dh
    @sanjaypatil-jq8dh Před 3 lety +5

    Hello nice video..:)
    2 questions:
    1. Since you have 19 unhappy photos how does batch(3) work here?
    2. Diff. btw batch_size and steps per epoch?

  • @jhin5588
    @jhin5588 Před 2 lety

    i love you sir, you making it work. So much thanks!

  • @sakinamosavi1104
    @sakinamosavi1104 Před 3 lety +1

    I really enjoyed. Thanks Sir!!!

  • @muhammadahmadessa9584

    always the low quality videos that are the best out there

  • @suruchisinha5952
    @suruchisinha5952 Před 3 lety

    Hi Jay, thanks for the video. I am here share an issue while training my CNN model (multi-data classifier) on Face Emotion Data . For a specific value of epochs it train a specific class(s), correctly. Can I have a different number of epochs for different classes if yes, how?

  • @leratomotsei3780
    @leratomotsei3780 Před 3 lety

    Wow!!! Beautiful and educational indeed. How can I have this dataset file, for example, saved and load it say on OpenCV?

  • @sudhakarp1
    @sudhakarp1 Před 3 lety +1

    Very neat explanation, thanks for the video

  • @WAWASAMBHUWARA
    @WAWASAMBHUWARA Před 2 lety

    Hello, thank you for this good example.
    I want to ask, how many photo that are good to train, develop, and test?
    because I can't find the dataset that I'm looking for, thankyou!

  • @CarlosRincon
    @CarlosRincon Před 3 lety

    Nice video! thanks man!

  • @martinhaas4955
    @martinhaas4955 Před 3 lety

    Very interesting video, helped me a lot !

  • @kelvinkipsang3600
    @kelvinkipsang3600 Před rokem

    Very useful and great job, thanks you so much

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

    Very helpfull tutorial. I have some questions though. Shouldnt all the images of the dataset be the same dimensions before we use them? how can i create a confusion matrix?

  • @vibhashreehippargi8233

    Thanks a lot for the amazing video. I tried it out for healthy and diseased plants, it looks like it wrongly identified few. Should i put them back in training folder and re-run everything again? Please suggest.

  • @rhk1991
    @rhk1991 Před 3 lety

    Ty for this video, you help me a lot rn.

  • @James-mu6th
    @James-mu6th Před rokem

    Thx, this is what i looking for.

  • @telabela007
    @telabela007 Před 2 lety

    Simply Superb. 🙏🙏

  • @aishaakram4270
    @aishaakram4270 Před 2 lety

    Thankyou so much for the explanation but I need to train a model for my face recognition project can you please guide how do I train the model for face recognition on both RGB and grey channel. And how can I structure my dataset either multiple folders of people or else?

  • @BoneCrushGaming
    @BoneCrushGaming Před 2 lety

    lol... the Neural Network did a good job classifying whether you are happy or not because honestly, I couldn't even tell.

  • @akshaysharmaa7
    @akshaysharmaa7 Před 3 lety

    A very nice and informative video sir. Thank yoU !!

  • @prikarsartam
    @prikarsartam Před rokem

    thanks, this helped me!

  • @lalithavanik5022
    @lalithavanik5022 Před 3 lety +1

    Thank you for your valuable information sir

  • @richardmkechera8461
    @richardmkechera8461 Před rokem

    waoooh ,this is amazing ,thank you brother

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

    Excellent video thanks alot.

  • @fayezsaeed7991
    @fayezsaeed7991 Před 3 lety +5

    Thank you for this good video
    I have one question, in the 'Validation' folder which images did you put?
    are they from train group or test group?

    • @whenmathsmeetcoding1836
      @whenmathsmeetcoding1836  Před 3 lety +5

      I had less no of images but yes you should keep all different images in three folders..

    • @plavali_znaem
      @plavali_znaem Před rokem

      Got the same question. Did you figure this out? Is that so that I have to save my images to all 6 folders: 2 folders - happy / unhappy -- in every of 3 folders: test, train, validation?

  • @anahitabh9649
    @anahitabh9649 Před 2 lety

    Amazing,thank you very much

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

    this is the best video ,cong2ln broo

  • @saritham3610
    @saritham3610 Před 3 lety +4

    Thank you very much. You made my day .I am happy to learn. Sir please upload more videos. Can you please send me code for model evaluation for same program

  • @guhanesvarmanikandan8769
    @guhanesvarmanikandan8769 Před 3 lety +1

    it really helps thank you so much

  • @siddhantmanna4809
    @siddhantmanna4809 Před rokem

    Thanks bro, really helped

  • @eugenesergio
    @eugenesergio Před 2 lety

    Love this!

  • @shivamdubey4783
    @shivamdubey4783 Před 2 lety

    sir do we have to sotre photos in all the three folders like validation training and testing or only training

  • @freadyloaks5339
    @freadyloaks5339 Před 3 lety +1

    thankyou very much sir for the great demo,
    but have you the video to explain the details of the models that we have to use for every scenario?

  • @faku09kpo
    @faku09kpo Před 2 lety

    very useful! thank u so much ;)

  • @xXMaDGaMeR
    @xXMaDGaMeR Před rokem

    you are amazing ! Have one issue at end, after teaching model on 4 classes i am having error testing i.e. predict, says array is not real something like this (use a.all() or a.any() )

  • @saadalamgir6225
    @saadalamgir6225 Před 2 lety

    Model is overfitting and you are happy that ist giving 100% accuracy. OMG

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

    thanks a lot for your help

  • @DurgaPrasad-jg8ss
    @DurgaPrasad-jg8ss Před 8 měsíci

    Bro can you tell me to use folder name as an output without using if condition

  • @MrKrishnalovesyou
    @MrKrishnalovesyou Před 4 lety +1

    Hi, Hope u r doing well ! Pls make a full video from scratch on any concepts so that we can learn something...

    • @whenmathsmeetcoding1836
      @whenmathsmeetcoding1836  Před 4 lety

      Sure Krishna will do the same ... Thanks for suggestion this video is about the implementation I taught it will be useful to use my own images because its very tough task to get data and label it by yourself to train your model.. keep watching..

  • @vaibhavkatiyar7356
    @vaibhavkatiyar7356 Před 2 lety

    Good Job

  • @nkechiesomonu8764
    @nkechiesomonu8764 Před 2 lety

    Thanks a lot, pls can this work with multi-class classification

  • @abiryousuf9931
    @abiryousuf9931 Před 3 lety +2

    Thanks for this content brother. helped me a lot. Can you please tell me how i can add more than 2 input classes(for example: happy, not happy, excited,depressed)??

    • @whenmathsmeetcoding1836
      @whenmathsmeetcoding1836  Před 3 lety +1

      Sure here is the video for multiclass czcams.com/video/1Gbcp66yYX4/video.html

    • @abiryousuf9931
      @abiryousuf9931 Před 3 lety

      @@whenmathsmeetcoding1836 But I want to use CNN. Here, you gave class mode='binary'. What can I put here as class mode to take more than 2 classes??

  • @Moahid6
    @Moahid6 Před 3 lety +1

    working well, Thank a lot

  • @rankonanamokoena312
    @rankonanamokoena312 Před 2 lety

    Awesome content

  • @thanzaw3883
    @thanzaw3883 Před 3 lety

    Hi Sir,
    Thank you so much for this awesome video .Could you share code of this model. Thanks

  • @TheBlackNight971
    @TheBlackNight971 Před 3 lety +3

    what did u put inside validation folder?

  • @shilpsshilpa1285
    @shilpsshilpa1285 Před 3 lety

    should v need put images in all folders? like testing - in happy 5 images and unhappy 5 images? same for validation too? but high no. of images in training

  • @fauji0114
    @fauji0114 Před 8 měsíci

    dont know how testing folder become test folder? and do i have to copy images in all three folders? please ans

  • @kanzoni81
    @kanzoni81 Před 2 lety +2

    Need help with
    ValueError: logits and labels must have the same shape ((None, 512) vs (None, 1))

  • @surajwagh3654
    @surajwagh3654 Před rokem

    Supperb 👍

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

    Hi, excellent tut, but I want to ask a stupid question, do I need to train or test the network using the same person's face photo? thanks

  • @mayankpatil7303
    @mayankpatil7303 Před 2 lety

    Thank you sir!

  • @kishorkandpal3427
    @kishorkandpal3427 Před 2 lety

    Great, Jay

  • @omeshamendis966
    @omeshamendis966 Před 2 lety

    Hello sir I have a question instead of binary if we have multiple choices to check what is the command we need to use

  • @rizwansuper009
    @rizwansuper009 Před 3 lety +1

    Good explanation. Sir, Which function we can use instead of sigmoid for prediction ?

  • @deepikasharma952
    @deepikasharma952 Před rokem

    Nice tutorial
    can mediapipe will provide the accurate results with the guidance of this code? Please provide your Github link...

  • @nurulizzahluthfiahnur1122

    Thankyou so much, its really help me

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

    Thank you very much sir, you explained step by step. but I have problem in last step. how to accept sub directory path and select both folder data set. please reply me. Thank you.

  • @romirei8173
    @romirei8173 Před 2 lety

    Hello sir, please make a video of how to create a "mismatch or can't recognize the image" class in the model, when any random images (not class model images) is shown.

  • @vandeindia5955
    @vandeindia5955 Před 2 lety

    Really helpful sir :)

  • @nurulizzahluthfiahnur1122

    Can we know what model architecture you use in this model?
    Or this is just a arxhitecture that u made by yourself?

  • @veronicanatividade
    @veronicanatividade Před 2 lety

    Thank you so so much!!!

  • @viranchivedpathak4231
    @viranchivedpathak4231 Před 2 lety

    Thanks! Very useful