Tutorial 119 - Multiclass semantic segmentation using U-Net (in Keras)

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

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

  • @doublesami
    @doublesami 3 года назад +3

    I am eagerly waiting to see a complete tutorial (Theory + code ) on Transformer-based UNet like TransUNet, Great job Dr.

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

    Haven't watch the whole video yet but I've already learned so much, thank you for the great content

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

    I am very excited to start learning about 3D semantic segmentation, thank you Sreeni :)

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

    You saved my life, thank you so much....

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

    It's an awesome implementation. Good job.
    Thank you.

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

    In the link provided for dataset , I found tifstack but there are no individual tif images in the specified folder

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

    Thanks for your wonderful videos, I got a question, I am trying to read the dataset but is as a stack tiff format so how to read it?

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

    Thank you very much.

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

    l am following this tutorial for Multiclass semantic segmentation and i face a problem. the lable in 8:26 code page my "label in the mask " = [0 38 75]. is it okay to play this segmentation code?
    My n_classes=3 (background, man, monkey)
    I'm not good at english sorry
    If my "label in the mask " is wrong, Can you tell me what video i watch to fix the problem
    thank you for your help

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

    THANKS prof.

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

    in my code it gives me this error: axis 3 is out of bounds for array of dimension 3

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

    Hi sir,
    how can I get to know which class is predicted?

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

    sir how do we plot confusion matrix

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

    sir my mask show
    Labels in the mask are : [ 0 10 154 254]
    so how i can covert into classes 1,2,3,4

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

    Fantastic video!

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

    If I have class 0,1,2,3,4 and 0 as background class..how to delete that 0 class while doing label encoder

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

      You need a label for every pixel that goes through the network. This means, you should not delete the pixels from background with a value of 0.

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

    Can you make a video for semantic segmentation by training a data using U-net ?

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

    Instead of 200 images if I want to load 5000 images but the memory is not allowing that. I have 24 GB of RAM still its not possible

  • @jamilal-idrus1905
    @jamilal-idrus1905 2 года назад

    sir i am always follow your code, my question is, if i custom the mode using VGG16 with weights="imagenet" i am alwas get error with my shape image, should i use rgb image with number chanel 3 or 1 or 0 for my dataset image and my dataset masking?

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

    really useful tutorial videos you have made, thanks sir. I am not having a mask folder for my dataset. without mask folder how to do the segmentation?

  • @anirudhr.huilgol.9449
    @anirudhr.huilgol.9449 2 года назад

    Sri please make a video on instance segmentation.

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

    Thanks Sini for such wonderful contents. I have one doubt, i am working on a healtcate dataset on a problem of instance segmentation to detect 3 different types of neurons. the masks that I have has background label 0 then 3 classes of neuronal cell types 1, 2 , 3. So I have to consider 4 classes right? I actually tried considering background also as class and trained model and got good IoU metric around 0.83, but the mean IoU is very small, less than 0.1. I am not sure what wrong I am doing here. Can you suggest how i can go ahead to this problem?

  • @RahulKumar-xb2js
    @RahulKumar-xb2js 3 года назад

    Dear, Sir I am continuously following your tutorials. You have a solution to my every problem. I will be using your methods on meteorite BSE images. And try to segment carbonaceous matter from those images just like you segment sandstones, clay and pores.

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

      Good to know Rahul. One challenge with meteorite BSE images is that you may not have well defined borders for certain minerals. For example, you may find a gradual grey level change due to zoning in Olivines. Good luck.

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

    how to download dataset?
    any one can send link

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

      drive.google.com/file/d/1HWtBaSa-LTyAMgf2uaz1T9o1sTWDBajU/view

  • @Amir-gi5fn
    @Amir-gi5fn 6 месяцев назад

    18:38 My dataset is some pictures of cars in 13 model classes,
    best model i could build was loss: 0.030 - accuracy: 0.988 - val_loss: 1.317 - val_accuracy: 0.806 & loss: 0.100 - accuracy: 0.966 - val_loss: 1.077 - val_accuracy: 0.768
    but my mean IoU is near 0, and only class background and class 1 has IoU > 0 like wtf others all exactly 0
    I generated 50 new random images for each image also, IDK why my model gets overfit. My bridge has only 128 filters and encode1,2,3,4 each has 8,16,32,64 filters

    • @Amir-gi5fn
      @Amir-gi5fn 6 месяцев назад

      shouldn't 17:27 be IOU_keras.update_state(np.argmax(y_test, axis=3), y_pred_argmax) ??
      I still get bad results but it's less wierd

    • @Amir-gi5fn
      @Amir-gi5fn 5 месяцев назад

      I just forgot to normalize my test data before doing prediction and it took me forever to realize it

  • @faaalsh8784
    @faaalsh8784 2 года назад +2

    When I use the provided stacked image (128_patches) I get an error we I run the following line: image_dataset = np.expand_dims(image_dataset, axis = 3). The error is : AxisError: axis 3 is out of bounds for array of dimension 2.
    I could solve this by patching the images myself. Yet the validation Accuracy and Validation loss were so bad.
    I appreciate any help.

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

      l have same problem. did you solve and how to get data?

  • @Neha-rh4gs
    @Neha-rh4gs Год назад

    I ran into the following error
    ResourceExhaustedError Traceback (most recent call last)
    in ()
    ----> 1 history = model.fit(X_train, y_train_cat,
    2 batch_size = 16,
    3 verbose=1,
    4 epochs=5,
    5 validation_data=(X_test, y_test_cat),
    1 frames
    /usr/local/lib/python3.10/dist-packages/tensorflow/python/eager/execute.py in quick_execute(op_name, num_outputs, inputs, attrs, ctx, name)
    50 try:
    51 ctx.ensure_initialized()
    ---> 52 tensors = pywrap_tfe.TFE_Py_Execute(ctx._handle, device_name, op_name,
    53 inputs, attrs, num_outputs)
    54 except core._NotOkStatusException as e:
    ResourceExhaustedError: Graph execution error: