Train Instance Segmentation Model with Detectron2 | Tutorial | Custom Dataset | Google Colab

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ม.ค. 2025

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

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

    Thanks for great video I just have one doubt, don't we need to normalize the custom data and its bounding box before using it?

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

      Hi it is Peter from the video. This is a bit longer conversation but I'm happy to have it here or here: github.com/roboflow/notebooks/discussions/categories/q-a . What would be normalization technique that you'd like to use look like?

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

    Nice video!! Thanks for sharing!

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

      thank you very much! ;)

  • @jlgiorio
    @jlgiorio 4 วันที่ผ่านมา

    Great video, congratulations! I've been using Detetron2 for about a year and I'm really enjoying it. I created my own model and I'm developing a dataset for my purposes. The only thing I couldn't do was customize the colors of the instances, I need each group to have its own color (as if it were a legend) so I can better visualize the project I'm developing. Do I have any function or library that could do this type of customization? Thanks! Bests from Brazil

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

    Can I use Object Detection(Bounding Box) instead of Instance Segmentation for Detectron2 ?

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

    please make video about training detectron2 projects like VITDet

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

      Hi! Do you mean tutorial on training some vision transformers using Detectron2? If you have some ideas for tutorials that we should do, please submit a request in our Notebooks repository on GitHub: github.com/roboflow-ai/notebooks

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

    Why would you use Detectron2 over YoloV8 or Mask_RCNN? - I'm still a bit confused about the advantages of Detectron2 over the rest.

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

      did u find an answer to this?

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

      @@alocatnaf no :(

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

      asking the same question

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

    Hi can you please tell me how to use this trained model to detect the objects from fresh images?

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

    I am getting error ;
    AttributeError: Cannot find field 'gt_masks' in the given Instances!
    can you please suggest how to solve it .

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

      Hi could you please create a bug report here: github.com/roboflow/notebooks I'll try to help you out :)

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

      cfg.MODEL.MASK_ON = False - If your dataset does not contain segmentation masks, and you only need to detect bounding boxes, change the model configuration to perform object detection instead of instance segmentation.

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

    Is there any change of code while my data just have 1 class? I can't visualize the predict mask btw

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

    how can we get approx size of the object? or is there any way to do it? can it be done while labelling the images if yes then how?

  • @Jekhammer-x2n
    @Jekhammer-x2n ปีที่แล้ว +1

    CUDA error: device-side assert triggered
    CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
    For debugging consider passing CUDA_LAUNCH_BLOCKING=1.
    Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
    i got error like this, what should i do sir?thank you

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

      did you solve it ?

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

      make sure your NUM_CLASSES are the same as your dataset's

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

      @@abdallahmashaly136 make sure your NUM_CLASSES are the same as your dataset's

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

    Hi, great video, and works for me, generally which one is better for object detectron, Detectronv2 or YOLOv8?

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

      Do you care more about the speed or the accuracy?

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

      @@Roboflow in the case I am working now, the accuracy is more important

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

      @@lofihavensongs Id go with Detectron2 ;)

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

      @@Roboflow can detectronV2 detect multi objects? I ran the code on my dataset which has 3 class, after training, the results show that 2 classes detect and segment fine with at least 90 percent accuracy but the third class did not detect at all!

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

      @@lofihavensongs yes it can. What is the class distribution in your dataset?

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

    Hi can anyone tell me how to chose which yaml file is best suitable for our model?

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

    When I use this code
    # Look at training curves in tensorboard:
    %load_ext tensorboard
    %tensorboard --logdir $OUTPUT_DIR_PATH
    It got error 403.
    How can I fix it?

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

    I would like to know how to create a Confusion matrix. please.

    • @gabelito25
      @gabelito25 6 หลายเดือนก่อน

      did u find an answer to this?