UNET for Retina Blood Vessel Segmentation in PyTorch | Image Segmentation | Deep Learning

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

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

  • @alex.triflesclear5827
    @alex.triflesclear5827 2 года назад +4

    Such a big help for my final term project! Thank you!

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

    Nice video covering every single detail. Thanks

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

    Amazing tutorial. Thank you. You are using test data to validate and to test. Should we not use some part of train data to validate and use test data only for testing?

  • @vimalshrivastava6586
    @vimalshrivastava6586 2 месяца назад +1

    Really helpful..thank you😊

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

    Respect and amazing work bro,,, keeping doing it!!

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

    Can you do a video on retina lesion segmentation using deep learning

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

    Thank you for the great tutorial. I downloaded the dataset but the test folder only contains images and mask folders not the 1st- and 2nd-manual folder. Do you know by any chance where can these be downloaded?

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

    why do we have two loss functions ?

  • @furkatsultonov9976
    @furkatsultonov9976 11 месяцев назад +1

    Why would you augment images and masks separately and save them? You can use augmentation techniques in dataset class so that at every iteration the model sees different images. Iterating for more epochs, you can give the model more augmented images so that the model does not overfit.

    • @IdiotDeveloper
      @IdiotDeveloper  11 месяцев назад +2

      Thanks for your suggestions. It was an old video. Now, I use real-time augmentation.

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

    great work

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

    What if I don’t have the images that you have in the 1st manual of your dataset. Is there any way to create them?. Actually i am using Messidor Dataset. Can you help? I really need to understand

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

    it's so helpful for me. Thank you. I have a question about train.txt file, how you generate it. How we can work with checkpoint.pth properly?

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

    How can we add training and validation loss graph using the checkpoint file?

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

    It's really helpful vedio.
    I am learning through this video and trying every bit of it. But I am getting the length of training and testing as 0. Whereas you ate getting it 20 which is the actual size.

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

      Same thing with me

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

      I got the mistake. On your first script (data_aug), change the "test_y = sorted(glob(os.path.join(path, "test", "1st_manual", "*.gif"))) for "test_y = sorted(glob(os.path.join(path, "test", "mask", "*.gif")))"
      It may work

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

    For data_aug.py file my train runs and it gives 100% in the IDE but when I see folder there are no image that has been saved. Can you help me out here

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

      I think you are using Windows. In Windows, there is always some issues with the path. Check the path.

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

      Hey, I have the same issue. How did you solved it?

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

      i have the same issue

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

    are the mask pixels range in 0-1 or 0-255?

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

    Nice video , I used your codes for radiography segmentation but the loss decreases very slow and it doesn't reach the optimum amount , do u have any advise ?

  • @arpandasdan7646
    @arpandasdan7646 10 месяцев назад

    Plz Make a video on RAVIR dataset for Retinal Image Segmentation.❤

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

    If it is possible can you please add the link to the dataset on the description.

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

    I used same code for segmentation of microanerism,hard exudates and haemorages,l got decent outputs but i am getting jaccard,F1,Recall, precision as 0 and i am getting good accuracy when using threshold value 0.5 but other metrics are zero, what might be the problem?. please help

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

      If I use the threshold as 0.1 i get the values but they are low
      My torch version:2.5.1+cu124
      Can this cause problem?

    • @navneetsingh5911
      @navneetsingh5911 17 дней назад

      @@jaiganeshshetty4883 brother try to look for a good dataset , if you are using his dataset then i am not sure what's the problem but i usually get problems in dataset and its path(between images and masks) and when i am using his augment_data function i am also getting a error of cv2.error: ... src data type = bool is not supported , my augmented images are not storing do you know how to resolve this ?

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

    sir i don't " cuda " it is giving me error

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

    hey I am implementing same code on kaggle .but It is giving some errors can you help me to rectify

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

    from model import build_unet, from loss import DiceLoss, DiceBCLoss, and from utils import seeding, create_dir, epoch_time did not run. Kindly help

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

    Hi,I am getting CUDA out of memory error, please help me to solve this problem.. please

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

      Anyone who tried to execute this in Collab or Kaggle please respond,even there also I am getting the same error..I need this for my final year project ,if any please help

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

      Try to reduce batch size

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

    I ran the same code, yet it is not saving the images to the new data folder. Can you please help?

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

      I think you are using Windows. Please check your path. The slash are different in Ubuntu and Windows.

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

      Did you find a solution for this ?

    • @arthureglin
      @arthureglin Год назад +5

      if you are on Windows, the "\" or "/" for the file paths are different, therefore the os.path.join function and glob function insert the wrong slash.
      To avoid the problem, use the following code for the load_data function:
      def load_data(path):
      train_x = sorted(list(map(lambda x: x.replace('\\', '/'), glob(os.path.join(path, "training", "images", "*.tif")))))
      train_y = sorted(list(map(lambda x: x.replace('\\', '/'), glob(os.path.join(path, "training", "1st_manual", "*.gif")))))
      test_x = sorted(list(map(lambda x: x.replace('\\', '/'), glob(os.path.join(path, "test", "images", "*.tif")))))
      test_y = sorted(list(map(lambda x: x.replace('\\', '/'), glob(os.path.join(path, "test", "1st_manual", "*.gif")))))
      return (train_x, train_y), (test_x, test_y)

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

      ​@@anagha2765 hi did u get the solution?

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

      bro you saved me with this code
      @@arthureglin

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

    Hi could you also do a video on 3D unet

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

    Which tool did u use to annotate the images?

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

      The data is automatically annotated.

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

      labelstudio

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

    where can i get the data?

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

    Which Notebook you are use?

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

    Can you do image segmentation on nii.gz files

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

      I haven't started working on 3d segmentation yet.

  • @ad-uf5bx
    @ad-uf5bx 9 месяцев назад

    mask = mask / 255.0
    TypeError: unsupported operand type(s) for /: 'NoneType' and 'float' please, tell how to solve this error

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

    Hello, where can I get the dataset

    • @archangel2301
      @archangel2301 10 месяцев назад

      Mate if u found it please let me know !

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

    GOT THİS ERROR
    TypeError: unsupported operand type(s) for /: 'NoneType' and 'float'

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

      Please check the path of images and masks. The cv2.imread is not able to read the image.

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

    What did you use to annotate the retina images so intricately?

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

    Your email

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

    If it is possible can you please add the link to the dataset on the description.

    • @archangel2301
      @archangel2301 10 месяцев назад

      mate did u find it ? if u did please let me know as well please