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

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 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

ความคิดเห็น • 491

  • @whenmathsmeetcoding1836
    @whenmathsmeetcoding1836  3 ปีที่แล้ว +21

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

    • @samesho7190
      @samesho7190 3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      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 3 ปีที่แล้ว

      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 3 ปีที่แล้ว +5

      Bro please give the code lines link

    • @camilo40
      @camilo40 3 ปีที่แล้ว

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

  • @danielpinto1628
    @danielpinto1628 3 ปีที่แล้ว +62

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

  • @pronoybiswas3810
    @pronoybiswas3810 2 ปีที่แล้ว +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 ปีที่แล้ว +10

    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.

  • @TrendingHashtags-bt7tz
    @TrendingHashtags-bt7tz 3 หลายเดือนก่อน +3

    Crystal clear implementation of CNN

  • @yepnah3514
    @yepnah3514 3 ปีที่แล้ว +12

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

  • @user-kq5cd7bd3o
    @user-kq5cd7bd3o 3 ปีที่แล้ว +1

    The first working tutorial!!! Thanks a lot

  • @EternalNoobCoder
    @EternalNoobCoder ปีที่แล้ว +3

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

  • @120_sagarikadeb8
    @120_sagarikadeb8 3 ปีที่แล้ว

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

  • @sanskritisrivastava2242
    @sanskritisrivastava2242 2 ปีที่แล้ว +7

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

  • @sergiocorrea7889
    @sergiocorrea7889 2 ปีที่แล้ว +3

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

  • @Sehmiconductor
    @Sehmiconductor ปีที่แล้ว

    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.

  • @sarveshsant5614
    @sarveshsant5614 ปีที่แล้ว +2

    Thanks, Man for explaining this in the easiest way🙌

  • @chrisber
    @chrisber 2 ปีที่แล้ว +1

    This is an excellent tutorial, thank you so much!

  • @madhumithaaas
    @madhumithaaas 3 หลายเดือนก่อน

    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

  • @KaveeshaNanayakkara99
    @KaveeshaNanayakkara99 11 หลายเดือนก่อน

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

  • @nonig249
    @nonig249 3 ปีที่แล้ว +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

  • @cassiemst4993
    @cassiemst4993 3 ปีที่แล้ว +4

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

  • @kajalyadav4246
    @kajalyadav4246 ปีที่แล้ว

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

  • @adamcalleja9815
    @adamcalleja9815 5 หลายเดือนก่อน

    great job explaining it, you're a great teacher

  • @jitensethi4668
    @jitensethi4668 3 ปีที่แล้ว +2

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

  • @salsabilashraf3713
    @salsabilashraf3713 ปีที่แล้ว

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

  • @carloseduardoa.marchiori5598
    @carloseduardoa.marchiori5598 ปีที่แล้ว

    Amazing job! Thank you so much for that

  • @nurulizzahluthfiahnur1122
    @nurulizzahluthfiahnur1122 3 ปีที่แล้ว +2

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

  • @wafazouari7065
    @wafazouari7065 3 ปีที่แล้ว +1

    you are a wonderful human being

  • @aimanjavid8441
    @aimanjavid8441 2 ปีที่แล้ว

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

  • @JeevaSivalingam
    @JeevaSivalingam 5 หลายเดือนก่อน

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

  • @James-mu6th
    @James-mu6th ปีที่แล้ว

    Thx, this is what i looking for.

  • @nikethatharangi857
    @nikethatharangi857 10 หลายเดือนก่อน

    this tutorial is really good. thank you so much

  • @rvrocks1000
    @rvrocks1000 ปีที่แล้ว

    Very well explained and to the point

  • @jhin5588
    @jhin5588 2 ปีที่แล้ว

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

  • @SportSync_official
    @SportSync_official 2 ปีที่แล้ว +3

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

    • @ousmanealamakaba3135
      @ousmanealamakaba3135 2 ปีที่แล้ว

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

  • @CarlosRincon
    @CarlosRincon 3 ปีที่แล้ว

    Nice video! thanks man!

  • @kelvinkipsang3600
    @kelvinkipsang3600 ปีที่แล้ว

    Very useful and great job, thanks you so much

  • @prikarsartam
    @prikarsartam ปีที่แล้ว

    thanks, this helped me!

  • @neilsumanth8013
    @neilsumanth8013 3 ปีที่แล้ว +1

    Thank you very much for this kind of good explanation!

  • @martinhaas4955
    @martinhaas4955 3 ปีที่แล้ว

    Very interesting video, helped me a lot !

  • @rhk1991
    @rhk1991 3 ปีที่แล้ว

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

  • @mageshdanani
    @mageshdanani 3 ปีที่แล้ว +1

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

  • @anahitabh9649
    @anahitabh9649 2 ปีที่แล้ว

    Amazing,thank you very much

  • @mamunhasan8898
    @mamunhasan8898 4 หลายเดือนก่อน

    thanks a lot for your help

  • @siddhantmanna4809
    @siddhantmanna4809 ปีที่แล้ว

    Thanks bro, really helped

  • @sanskritisrivastava2242
    @sanskritisrivastava2242 2 ปีที่แล้ว +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?

  • @LeenaGurgPhysics
    @LeenaGurgPhysics 3 ปีที่แล้ว +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.

  • @peterslater2914
    @peterslater2914 3 หลายเดือนก่อน

    Excellent video thanks alot.

  • @richardmkechera8461
    @richardmkechera8461 ปีที่แล้ว

    waoooh ,this is amazing ,thank you brother

  • @sakinamosavi1104
    @sakinamosavi1104 3 ปีที่แล้ว +1

    I really enjoyed. Thanks Sir!!!

  • @sudhakarp1
    @sudhakarp1 3 ปีที่แล้ว +1

    Very neat explanation, thanks for the video

  • @faku09kpo
    @faku09kpo 2 ปีที่แล้ว

    very useful! thank u so much ;)

  • @jameslucas8369
    @jameslucas8369 7 หลายเดือนก่อน

    this is the best video ,cong2ln broo

  • @telabela007
    @telabela007 2 ปีที่แล้ว

    Simply Superb. 🙏🙏

  • @joaofonseca528
    @joaofonseca528 3 ปีที่แล้ว +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

  • @akshaysharmaa7
    @akshaysharmaa7 3 ปีที่แล้ว

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

  • @viranchivedpathak4231
    @viranchivedpathak4231 2 ปีที่แล้ว

    Thanks! Very useful

  • @muhammadahmadessa9584
    @muhammadahmadessa9584 ปีที่แล้ว

    always the low quality videos that are the best out there

  • @thisaragamage5485
    @thisaragamage5485 ปีที่แล้ว

    thanks bro huge help

  • @veronicanatividade
    @veronicanatividade 2 ปีที่แล้ว

    Thank you so so much!!!

  • @rogermillamilla3913
    @rogermillamilla3913 2 ปีที่แล้ว

    good job thanks yes i did

  • @eugenesergio
    @eugenesergio 2 ปีที่แล้ว

    Love this!

  • @sharveensmith9947
    @sharveensmith9947 3 ปีที่แล้ว

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

  • @bryan_dx
    @bryan_dx 2 ปีที่แล้ว

    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 2 ปีที่แล้ว

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

  • @surajwagh3654
    @surajwagh3654 ปีที่แล้ว

    Supperb 👍

  • @suruchisinha5952
    @suruchisinha5952 3 ปีที่แล้ว

    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?

  • @guhanesvarmanikandan8769
    @guhanesvarmanikandan8769 3 ปีที่แล้ว +1

    it really helps thank you so much

  • @shahmahdi5279
    @shahmahdi5279 ปีที่แล้ว

    Thank you so much

  • @lalithavanik5022
    @lalithavanik5022 3 ปีที่แล้ว +1

    Thank you for your valuable information sir

  • @BoneCrushGaming
    @BoneCrushGaming 2 ปีที่แล้ว

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

  • @rankonanamokoena312
    @rankonanamokoena312 2 ปีที่แล้ว

    Awesome content

  • @calvinatuhaire3116
    @calvinatuhaire3116 ปีที่แล้ว

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

  • @the_new_horizon_17
    @the_new_horizon_17 ปีที่แล้ว

    Thank you sir.

  • @WAWASAMBHUWARA
    @WAWASAMBHUWARA 2 ปีที่แล้ว

    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!

  • @kishorkandpal3427
    @kishorkandpal3427 3 ปีที่แล้ว

    Great, Jay

  • @monarch6t9
    @monarch6t9 18 วันที่ผ่านมา

    🥰🥰 bhai maja agya thank you vmro

  • @vibhashreehippargi8233
    @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.

  • @fayezsaeed7991
    @fayezsaeed7991 3 ปีที่แล้ว +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  3 ปีที่แล้ว +5

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

    • @plavali_znaem
      @plavali_znaem ปีที่แล้ว

      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?

  • @vaibhavkatiyar7356
    @vaibhavkatiyar7356 2 ปีที่แล้ว

    Good Job

  • @nurulizzahluthfiahnur1122
    @nurulizzahluthfiahnur1122 3 ปีที่แล้ว

    Thankyou so much, its really help me

  • @vandeindia5955
    @vandeindia5955 3 ปีที่แล้ว

    Really helpful sir :)

  • @sanjaypatil-jq8dh
    @sanjaypatil-jq8dh 3 ปีที่แล้ว +4

    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?

  • @Moahid6
    @Moahid6 3 ปีที่แล้ว +1

    working well, Thank a lot

  • @leratomotsei3780
    @leratomotsei3780 3 ปีที่แล้ว

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

  • @saadalamgir6225
    @saadalamgir6225 2 ปีที่แล้ว

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

  • @aishaakram4270
    @aishaakram4270 2 ปีที่แล้ว

    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?

  • @mayankpatil7303
    @mayankpatil7303 2 ปีที่แล้ว

    Thank you sir!

  • @muslumyildiz5694
    @muslumyildiz5694 2 ปีที่แล้ว

    Thank you

  • @TechnoArky
    @TechnoArky 3 หลายเดือนก่อน

    awesome

  • @mdyounusahamed6668
    @mdyounusahamed6668 ปีที่แล้ว

    Thanks.

  • @saritham3610
    @saritham3610 4 ปีที่แล้ว +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

  • @kanzoni81
    @kanzoni81 3 ปีที่แล้ว +2

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

  • @rahulhalder4501
    @rahulhalder4501 2 ปีที่แล้ว

    Thanks bro ❤️

  • @omeshamendis966
    @omeshamendis966 2 ปีที่แล้ว

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

  • @amessit10
    @amessit10 2 ปีที่แล้ว

    too good!!

  • @user-ze6yf9hv9s
    @user-ze6yf9hv9s 6 หลายเดือนก่อน

    thanks brother

  • @thanhlongnguyen3454
    @thanhlongnguyen3454 3 ปีที่แล้ว +1

    very nice video, good job bro

  • @ancientgear7192
    @ancientgear7192 8 หลายเดือนก่อน

    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?

  • @prathameshekal7308
    @prathameshekal7308 11 หลายเดือนก่อน

    Thanks

  • @Footballer10309
    @Footballer10309 2 ปีที่แล้ว

    Thankyou so much 😍😍

  • @shilpsshilpa1285
    @shilpsshilpa1285 3 ปีที่แล้ว

    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

  • @tomasprager4347
    @tomasprager4347 3 ปีที่แล้ว +1

    Thank you, you are rly master

  • @xXMaDGaMeR
    @xXMaDGaMeR ปีที่แล้ว

    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() )