Tutorial 26- Create Image Dataset using Data Augmentation using Keras-Deep Learning-Data Science

Поділитися
Вставка
  • Опубліковано 26 гру 2024

КОМЕНТАРІ • 130

  • @Prachi_Mayank
    @Prachi_Mayank 4 роки тому +9

    thank u thank u for always helping me like an angel... u are just great sir..keep it up... people like us who are new in this field need your support, so thank u again sir.

  • @nurafiqahmahizan
    @nurafiqahmahizan 2 роки тому +2

    simple and comprehensive explanation. thank you sir!

  • @SAURAVkumar-sg8mk
    @SAURAVkumar-sg8mk 3 роки тому +1

    thankyou sir,,,it helped me in data generation for my CNN model

  • @mertceylan2080
    @mertceylan2080 3 роки тому +4

    Short and brilliant tutorial ! Thank you so much Krish... May Allah bless you

  • @alluprasad5976
    @alluprasad5976 5 років тому +5

    Thank you Krish..do more on segmentation and detection

  • @vishaljhaveri7565
    @vishaljhaveri7565 3 роки тому +1

    Thank you, Krish Sir. It was a good tutorial.

  • @pawansran4690
    @pawansran4690 3 роки тому +1

    This video has been really helpful. Thank you so much

  • @arjunpukale3310
    @arjunpukale3310 5 років тому +10

    Sir please upload a video on how to convert image dataset stored in directory as numpy array with image augmentation

  • @sandipansarkar9211
    @sandipansarkar9211 4 роки тому +1

    That was a superb video.Just want to get my hands dirty with practise.Thanks Krish.

  • @talasrour5068
    @talasrour5068 Рік тому +1

    please i need to know how can apply the same technique to a dataset of 258 image and generate 20 copies from each single image and save it and achieving 1000 as total

  • @cool_videos6016
    @cool_videos6016 4 роки тому +7

    How can you data augmentation on selected image classes when a dataset is imbalanced

  • @heenagirdher6443
    @heenagirdher6443 4 роки тому +1

    Thank you so much sir for such a great tutorial

  • @kin_1997
    @kin_1997 2 роки тому

    love your content man very helpfull

  • @ausheekhamesra6583
    @ausheekhamesra6583 3 роки тому +3

    Just wondering how I could change the names of the augmented images that are being saved? For example instead of the randomized numbers "cat_0_1449.jpeg", how could I save it as cat_1, cat_2, cat_3.... Thank you

  • @jeamsdere9636
    @jeamsdere9636 3 роки тому

    thank sir, it was great tutorial

  • @zebafariha8312
    @zebafariha8312 Рік тому +1

    Sir, can you please show how can I augment data on multiple images(folder of certain labelled pic) to make imbalanced data a balanced one. I am struggling with that

  • @shrinivas8035
    @shrinivas8035 2 роки тому

    so here we have to store different images in separate folders and similarly store results in separate folders and then use the new data set for the learning algorithms right?

  • @saibaba2962
    @saibaba2962 7 місяців тому

    Dear Sir,
    I am doing research on healthcare and have an MRI dataset. I need to perform data augmentation on MRI images. Could you please suggest any tools or Python code for MRI data augmentation?
    Thank you.

  • @louerleseigneur4532
    @louerleseigneur4532 3 роки тому

    Thanks Krish

  • @VictorVelazquezEspitia
    @VictorVelazquezEspitia 3 роки тому

    Excelent video, thank you

  • @ritilranjan7369
    @ritilranjan7369 17 днів тому

    Where can I find the link to the above python program?

  • @wolfinstincts29
    @wolfinstincts29 Рік тому

    the fourth dimension is for batch number

  • @siddhantkumar698
    @siddhantkumar698 2 роки тому

    Can we use GAN to generate images for CNN

  • @relaxpeacefulmind2440
    @relaxpeacefulmind2440 3 роки тому

    In this augmentation if we do all augmentations at a time won't it mix everything , means it will flip as well as rotate as well as elongate in single image

  • @sahubiswajit1996
    @sahubiswajit1996 4 роки тому +3

    Why we are doing this line?
    x = x.reshape((1,) + x.shape) # this is a Numpy array with shape (1, 3, 150, 150)

    • @abhishekbordoloi9923
      @abhishekbordoloi9923 4 роки тому

      Even I am stuck in this. Did you get it?

    • @avneshdarsh9880
      @avneshdarsh9880 4 роки тому

      1,3 is colour code ,150*150 size of image

    • @shindepratibha31
      @shindepratibha31 4 роки тому +3

      Because ImageDataGenerator takes data in that form where,
      1----number of images
      3----number of channels
      150x150---image size

    • @teacherHub6723
      @teacherHub6723 4 роки тому

      @@avneshdarsh9880 1---batch size 3---channel ( RGB ) and 150*150

  • @xXMaDGaMeR
    @xXMaDGaMeR 2 роки тому

    do you have to save it do local drive ? or could you possibly pass the augmented data within the training dataset ?

  • @Motivational-quotes143
    @Motivational-quotes143 9 місяців тому

    How can we increase the dataset for numeric dataset?

  • @notgamer8802
    @notgamer8802 2 роки тому

    which link did you implement program right now?

  • @foruniversity2525
    @foruniversity2525 2 роки тому

    thank you very much

  • @NomanNawaz-i9j
    @NomanNawaz-i9j Рік тому

    how to change the images save location after augmentation , i want to save images after augmentation in my pc drive ?

  • @jayasandeepreddy3474
    @jayasandeepreddy3474 3 роки тому

    Hi Krish,
    after augmenting the images when we pass the data for training , do we need to maintain height and width of all images same ?

  • @pruthvirudraswamimath860
    @pruthvirudraswamimath860 6 місяців тому

    Hello sir I want anemia prediction from eye image project and how it works plz sir

  • @sourinroy992
    @sourinroy992 5 років тому +3

    is data augmentation only applicable to image datasets? what about other types of datasets?

    • @mujeebrahman5282
      @mujeebrahman5282 4 роки тому

      Sourin Roy yes as far as I am concerned. I may be wrong.

    • @rumitpatel884
      @rumitpatel884 4 роки тому +1

      in other type you can use like a undersampling and oversampling concepts

  • @wajeehanaz9115
    @wajeehanaz9115 3 роки тому

    Sir i want to increase image dataset using smote technique ...please tell me how to do it???

  • @movsesghazaryan1020
    @movsesghazaryan1020 2 роки тому +1

    is there a way of using those images without saving them on hard drive?
    edit: you can use .fit() . You need to give datagen.flow(...) as an argument.
    For anyone looking for the same question's answer.

  • @tausifahmed751
    @tausifahmed751 3 роки тому +1

    MANKIND'S ANGEL YOU ARE, YOU ARE MY SAVIOUR. INDIA ROXX

  • @mahenderboda9911
    @mahenderboda9911 2 роки тому

    Let's say My problem is not classification but image to image problem where both the input and output are both images. and I want to expand my data. In this case how can I apply imagedatagenerator to get the same transformations applied to both the input images and output images.????? Thanks in advance

  • @wanianawaz6999
    @wanianawaz6999 4 роки тому +1

    Could not import PIL.Image. The use of `load_img` requires PIL.
    sir this error occur continiously , how we can install pil in jupyter?

  • @everythingisinfrared6029
    @everythingisinfrared6029 4 роки тому

    Sir,
    is image augmentation applied only at the input image (e.g. the image that shows the cat or dog), or also on the label image (binary image)?
    Thank you.

  • @satyaganesh7159
    @satyaganesh7159 4 роки тому +1

    sir please create a tutorial on MNIST dataset with indepth intution, which will be useful

  • @sonamkori8169
    @sonamkori8169 4 роки тому

    Thank You Sir

  • @imanefahim8557
    @imanefahim8557 3 роки тому

    Nice video, I did data augmentation "on fly" inside my model, any ide how to visualize it?

  • @andrmtts
    @andrmtts 3 роки тому

    thank you!

  • @vibevikishort
    @vibevikishort 4 роки тому

    Data argumantation for MATLAB code of CNN is available ??

  • @tirthadatta7368
    @tirthadatta7368 3 роки тому

    Sir, can u please make video on data augmentation using multiple image and how to split image data into train and test??

  • @vandanapal7321
    @vandanapal7321 4 роки тому

    i haven't used kaggle dataset and my images are no labelled like an image is a cat or dog ....what condition should i apply in the if else block for appending 1 if a dog and 0 if cat

  • @SoumyaPanigrahi-wt7il
    @SoumyaPanigrahi-wt7il Рік тому

    how to create preview folder and use if i am using colab?????????????????????/

  • @rutveek6050
    @rutveek6050 Рік тому

    getting bluish images ? how to solve?

  • @abhinavgarg5611
    @abhinavgarg5611 3 роки тому +3

    For those facing this error
    FileNotFoundError: [Errno 2] No such file or directory
    create a folder named preview in the same path where your notebook or py file is located and then you will be able to see augmented images in this folder

  • @mianshani9115
    @mianshani9115 4 роки тому

    How thia data set used in website??? Such as i want to make data set for Hat pics and put that pic on real time face detection..?
    Could you tell me how to use?

  • @saniaurooj5450
    @saniaurooj5450 3 роки тому

    your video is very helpful. Can you tell me which data augmentation technique is used for time frequency domain spectrogram (images) ?

    • @unknownfacts3716
      @unknownfacts3716 2 роки тому

      don't go deeper into this topic, just cover the basic one

  • @satinder_sartaaj
    @satinder_sartaaj 3 роки тому

    How can we balance image dataset by using this augmentation??

  • @arshad1781
    @arshad1781 5 років тому +1

    nice

  • @Jaydeep-ve4jy
    @Jaydeep-ve4jy 2 роки тому

    Hi Krish, thank you for the amazing video. Is there a way we can also preserve labelled data while performing image data augmentation?

    • @mmskawish
      @mmskawish Рік тому

      If you have corresponding .xml files, then "Roboflow" (google it plz) may work for you. Let me know if you need further help.

  • @rajabalimondal7308
    @rajabalimondal7308 4 роки тому

    Sir please upload a video on image pre processing for model fit()

  • @aryansingh2105
    @aryansingh2105 3 роки тому +4

    Sir if possible please make a video on how to create a synthetic categorical dataset for generating a CSV file. I have watched your video in which you have used DataFrame for the generation of artificial data, but attributes in that dataset have no correlation. Thank you.🙏🏻

  • @subhadeepdutta5501
    @subhadeepdutta5501 3 роки тому

    If I have .nii file and how to augment based on CT, MR

  • @forever-fz1hk
    @forever-fz1hk 5 років тому

    krish sir just one question please answer....to speed up my processing iam practising them on kaggle as it provides much fast speed....but please answer how to train a image from my computer...or how to set path

  • @aisyahrobi3623
    @aisyahrobi3623 3 роки тому +1

    FileNotFoundError: [Errno 2] No such file or directory...can someone help me with this... I really need help for my project

    • @shubhajitroy1787
      @shubhajitroy1787 3 роки тому

      Use full path of the preview folder in place of save_to_dir='preview' it will work.

  • @nishatchowdhury1466
    @nishatchowdhury1466 4 роки тому

    Is it applicable for machine learning??

  • @ZulfiqarAli-cg5qw
    @ZulfiqarAli-cg5qw 3 роки тому

    I need help ..Mara error aarha haii save to dir py... augmentation naii show ho rahii preview ma mif someone knw plz help ma

  • @9-se-5
    @9-se-5 3 роки тому

    Hi sir getting this error please help em out Input data in `NumpyArrayIterator` should have rank 4. You passed an array with shape', (2720, 4106, 3))

    • @iliasp4275
      @iliasp4275 3 роки тому

      you must have forgoten to put this line
      x = x.reshape((1,) + x.shape)
      at 3:41
      to put and 1 in front of it to make it rank 4

  • @mohitbele79
    @mohitbele79 3 дні тому

    please sir give the explanation in detail i am not understand what i meaning of parameter and why we use

  • @ajanthakaipu1790
    @ajanthakaipu1790 4 роки тому

    Sir please explain graph convolution neural network

  • @vjukulkarni6057
    @vjukulkarni6057 4 роки тому

    How if we have n numbers of images

  • @EngRiadAlmadani
    @EngRiadAlmadani 5 років тому +1

    Good jop

  • @divyarajvs8890
    @divyarajvs8890 4 роки тому

    FileNotFoundError: [Errno 2] No such file or directory: is the error i am getting even i though i copy the correct path from my system where the image file exists

    • @Omarismail-vs4jl
      @Omarismail-vs4jl 4 роки тому

      make sure you place it in the same directory your notebook is in. for example Anaconda3/cat.jpg

    • @aisyahrobi3623
      @aisyahrobi3623 3 роки тому

      Hello, I also have the same error as you....how you solve it?

  • @nidhikundu3620
    @nidhikundu3620 4 роки тому

    how to do data augmentation of multiple images together??

    • @gujjalapatiraju7435
      @gujjalapatiraju7435 4 роки тому +1

      Loop through the images you have in a folder and apply this on each image.

  • @wanianawaz6999
    @wanianawaz6999 4 роки тому

    i am stuck with so many error please help me out

  • @priyankadinda6670
    @priyankadinda6670 4 роки тому

    where to create the 'preview folder.

    • @divyarajvs8890
      @divyarajvs8890 4 роки тому

      FileNotFoundError: [Errno 2] No such file or directory:

    • @sksujanislam3906
      @sksujanislam3906 4 роки тому +1

      @@divyarajvs8890 create the preview folder in the same location where the notebook file is located.

  • @hinanaz4254
    @hinanaz4254 2 роки тому

    i have getting error any one can help us

  • @Kumar08
    @Kumar08 4 роки тому

    Please provide Github link for this code.

  • @prasunprakash2297
    @prasunprakash2297 4 роки тому

    Please provide the github link for this code

  • @darpan810
    @darpan810 5 років тому +1

    same technique I applied but showing error
    "Could not import PIL.Image. The use of `load_img` requires PIL."
    Please help sir

  • @mianshani9115
    @mianshani9115 4 роки тому +1

    Source code link??

  • @renarayana4177
    @renarayana4177 4 роки тому

    Can you share the code???

  • @nishatchowdhury1466
    @nishatchowdhury1466 4 роки тому

    I have 90 real datasets..bt i need total 1000 dataset..shall i apply this technique for machine learning??

  • @ranjithkumarsamala6416
    @ranjithkumarsamala6416 5 років тому +1

    dude, please do post code in descritption

    • @aravindnaidu4819
      @aravindnaidu4819 4 роки тому

      blog.keras.io/building-powerful-image-classification-models-using-very-little-data.html

  • @khankhn4285
    @khankhn4285 4 роки тому

    I want to increase (augment) the number of images that i have (50 images) using ImageDataGeneator.
    I found the following code, but it only augments one image per time (one file). I am new to python, so, if there any other easier method to automatically augment the 50 images at once and save the outcome in a new folder...
    Any solution

    • @khankhn4285
      @khankhn4285 4 роки тому

      import numpy as np
      import keras
      from keras.preprocessing.image import ImageDataGenerator, array_to_img,
      img_to_array, load_img
      datagen = ImageDataGenerator(rotation_range =15,
      width_shift_range = 0.2,
      height_shift_range = 0.2,
      rescale=1./255,
      shear_range=0.2,
      zoom_range=0.2,
      horizontal_flip = True,
      fill_mode = 'nearest',
      data_format='channels_last',
      brightness_range=[0.5, 1.5])
      # This is my problem, It loads only one file, and i am searching for an
      automated method to load number of files together and save them in
      another folder.
      img = load_img(r"C:\Users\user 1\Pictures\people_1\1.jpg")
      x = img_to_array(img)
      x = x.reshape((1,) + x.shape)
      i = 0
      for batch in datagen.flow (x, batch_size=1, save_to_dir =r'C:\Users\user
      1\Pictures\people_1\preview', save_prefix ='people2', save_format='jpg'):
      i+=1
      if i>10:
      break

    • @khankhn4285
      @khankhn4285 4 роки тому

      The expected result from the above code is 10 augmented images extracted from the main file of 1.jpg, while I have another 50 files, I am searching for a quicker method to augment them all in one code

  • @saurabhkumar289
    @saurabhkumar289 4 роки тому

    Please send this code

    • @aravindnaidu4819
      @aravindnaidu4819 4 роки тому

      blog.keras.io/building-powerful-image-classification-models-using-very-little-data.html

  • @shreenivaschityala3699
    @shreenivaschityala3699 4 роки тому +1

    Indian Andrew Ng

  • @yughendermeda6231
    @yughendermeda6231 2 роки тому

    Thank You Sir