Albumentations Tutorial for Data Augmentation (Pytorch focused)

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

КОМЕНТАРІ • 61

  • @AladdinPersson
    @AladdinPersson  3 роки тому +17

    A mistake I made in the video was for the full pytorch example when creating the dataset I accidently inherited from nn.Module instead of Dataset. We didn't get an error because we didn't create a DataLoader, will fix that for the code I upload to Github 🤙

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

      GAN I perfer your videos spend more times on the mathematical side also topic modeling recommendation system because we deal will it everyday
      I want to make custom text with GAN

  • @shahidsiddiqui7152
    @shahidsiddiqui7152 3 роки тому +14

    Man your tutorials are better than a bunch of paid courses out there :) Thank you so much.

  • @billfuture6072
    @billfuture6072 10 місяців тому +1

    Great video for a postgraduate student worked in deep learning!!!I've followed and introduce to other mates.

  • @LocNguyen-lb7ii
    @LocNguyen-lb7ii 3 роки тому +1

    OMG your tutorial helps saving a ton of hour preprocessing.

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

    Love how you explained it. Good work!

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

    Wooow, thank you! I just started to delve into this today, and saw your video.

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

    Excellent and concise tutorial on Albumentations. Many thanks!

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

    These are excellent tutorials, thank you very much! 😃

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

    Great video, could you make one about implementing GradCAM (and/or other interpretability tools) for popular models (like resnet) in pytorch?
    Would appreciate it very much.

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

    Loving the videos. Keep uploading more, please!

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

    Great Video! I wonder how are we gonna resize the predicted bboxes of the test set back to its original size

  • @Kwaiigurlie
    @Kwaiigurlie 5 місяців тому

    Thank you Aladdin for excellent explanation. I have one query that the image size and mask size of elon image are not same. Therefore, the segmentation script gives an error "ValueError: Height and Width of image, mask or masks should be equal." please help in this

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

    Hey, I have doubt, when we are using this in our custom class, Before and after augmentation size of the data is same.
    train_data = 300 (before augumentation)
    train_data = 300 (after augumentation)
    There is no increase in size of the data, if we use use for loop, it's creating more data but when we are doing in custom class, it's just changing the data not increasing the train_data, can you please help with that.

  • @johanngerberding5956
    @johanngerberding5956 3 роки тому +2

    Great content, keep going!

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

    great job friend. A Quick question, you didnt increase the number of dataset by applying transform, did you?

  • @kae4881
    @kae4881 3 роки тому +2

    Loving the videos! Do you plan on continuing with the App Deployment Series?

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

      Yes but the effort to make those videos are much higher and unfortunately they don't seem to be that popular :\

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

      @@AladdinPersson Thats sad. Those videos are extremely high in quality and takeaway. Love you though!

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

      Thank you for yet another insightful video. Your now my mentoring channel for PyTorch and Computer Vision. Am enjoying the ride and especially the way you teach the concepts in an easy to learn approach.

  • @QuarktaschemitSenf
    @QuarktaschemitSenf Рік тому +2

    Hi there. First of all ty for the Video. But i have a question: Currently i am getting into Object Detection with yolov7. For each image i have a txt-file with the coordinates of the bounding boxes in yolo format. How do i apply the rotation or for example a flip to the bounding boxes? Can you maybe do a video on that?

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

      Same issue here. Have you found any solution?

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

      @@x3rc0n12 wrote a mini script that goes through a folder, looks at all txt files, and saves values. still got to do some string slicing to get it in the format you need for yolo, but when i continue working on it or finish ill let you know

  • @ranns100
    @ranns100 3 роки тому +2

    Great video, thank you !!
    Also, how do I use this on standard datasets like CIFAR? I assume we cannot use these albumentations inside the "transform" argument of torchvision.datasets.Cifar10?

  • @sahil-7473
    @sahil-7473 3 роки тому

    Great tutorial!!😁
    I am looking for efficientNet model from scratch ad well as review of this research paper on upcoming videos.

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

    Love your vids! Subscribed.

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

    Thanks a lot! you're impressive !

  • @manub.n6223
    @manub.n6223 2 роки тому

    These are just image level augmentations (detection) . Are there no bounding box level augmentations like Roboflow?

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

    Thanks! Awesome content! :)

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

    Great tutorial!
    Which text editor are you using in the video? Thanks!

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

    When we augment the images what happens to our annotations files? Shouldn't the respective annotations be made for every new augmented image ?

  • @Joseph-ub7rh
    @Joseph-ub7rh 3 роки тому

    I'm using your deeplearning conda environment but cannot seem to get albumentations installed.

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

    I thought cv2 did not use antialiasing filter as opposed to Pillow (when resizing bilinearly) ? Trying to figure out if I can use Albumentations for my current project but I need antialiasing filter for this task as I am segmenting very fine lines on big images ( downsizing them to 450x450 ) if anyone can help that would be supercool..

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

    module 'albumentations' has no attribute 'BboxParams'
    Very strange.What am I missing here?I have tried uninstalling and re install the package.But it didn't work.

  • @md.shamimalmahmud2778
    @md.shamimalmahmud2778 2 роки тому

    How can I use the dataset which you have used in this video?

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

    hey i am beginner in python can you just show me how you have created utils.py file and what is inside it

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

    from utils import plot_examples raises an error:
    ImportError: cannot import name 'plot_examples' from 'utils' (C:\Users\33651\anaconda3\envs\Python 3-7\lib\site-packages\utils\__init__.py)
    I did pip install utils but there is no plot_examples in it

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

      Ok Nvm, I didn't understand that it was a file you created

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

    Any tutorial on video classification?

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

      I will do it in the future for sure but haven't done any yet

  • @ayeshakhatun3114
    @ayeshakhatun3114 8 місяців тому

    where is the code of this tutorial?

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

    My augmentations["bboxes"] is empty most of the time. Have you any idea why that may be the case ?

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

      it looks like when the transformed bbox gets out of the image the bbox is returned empty. Which makes sens actually

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

      Yeah if it's less than some visibility percentage that you send in as hyperparameter it won't be included

  • @Terraz-ed
    @Terraz-ed 3 роки тому

    Hmm, I thought this video will be about image segmentation using unet but anyway awesome video as always

    • @AladdinPersson
      @AladdinPersson  3 роки тому +2

      That video is coming but we'll be using albumentations in that video so wanted to cover it first

    • @Terraz-ed
      @Terraz-ed 3 роки тому

      That's awesome you have shared your knowledge about augmentation too, I hope the segmentation video is going to be really awesome anyways Thanks

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

      @@AladdinPersson mask r-cnn also please

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

    When I use ToTensorV2 it changes the shape of the image from 720, 1280, 3 to 3, 720, 1280 which implies that plt.imshow doesn't work. Is it normal ?

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

      Yeah you just need to reshape it to plot it, it's just that they expect the channels to be in a different dimension. If I recall correctly I think pytorch has channels after batch so dim=1, but numpy wants it in the end. I might recall it incorrectly

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

      @@AladdinPersson thanks !

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

    please, where can we get the same images as you are using ?

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

      Ok I grabbed it from the link provided and took some random images of cats and dogs.
      If anyone reads this, there is no need to have the exact same picture as Aladdin and the masks / picture do not need to be of the exact same size to follow the tutorial

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

    Please do more video from scratch one thing I don't like some videos they just skip all details and show codes only : (

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

    8:20 aa ha ,told you Elon Musk is Alien , changing to his original color

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

    Elon Mask

  • @liuwendong9223
    @liuwendong9223 8 місяців тому

    handsome

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

    GitHub Link: github.com/aladdinpersson/Machine-Learning-Collection/tree/master/ML/Pytorch/Basics/albumentations_tutorial

  • @aaa59070046
    @aaa59070046 2 місяці тому