How to Use MMDetection | Train RTMDet on a Custom Dataset

Sdílet
Vložit
  • čas přidán 13. 09. 2024

Komentáře • 64

  • @JemiloII
    @JemiloII Před 3 měsíci +1

    The fact that you care about licensing that helps us all out, instant subscribe. Pretty tired of seeing AGPL Licensed code/models being used over and over.

  • @hartmannr76
    @hartmannr76 Před rokem +2

    Hey, cool! You're using my domino dataset :) Thrilled to see it being used in something like this!!

    • @Roboflow
      @Roboflow  Před rokem +1

      So awesome! Shame I couldn’t contact you before. I’d love to test the model on the video input.

  • @suphotnarapong355
    @suphotnarapong355 Před rokem +1

    Thank you so much for sharing the knowledge I've been searching for. Your willingness to share this information has been incredibly helpful to me, and I truly appreciate it. It's made a significant difference in my understanding and learning. Thanks again!

  • @SantichaiJansamak
    @SantichaiJansamak Před rokem +2

    You're welcome for the helpful advice. I will try using it in my project.

    • @Roboflow
      @Roboflow  Před rokem +1

      Awesome! Please, let me know if you like it. And btw, was the LICENSE important factor for you?

  • @top-5-travel
    @top-5-travel Před 9 měsíci +7

    I have tried the google colab and it is not working. It doesn't install mmcv. Any ideas how to correct this?

    • @illyaaverchenko2263
      @illyaaverchenko2263 Před 5 měsíci

      @hyperion6821
      1 месяц назад
      I solved by installing torch==2.0.1 and some other stuff before installing all the mmdetection stuff.
      !pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 torchdata==0.6.1 torchtext==0.15.2 fastapi kaleido python-multipart uvicorn lida torchdata

  • @user-jj8qz2vy7o
    @user-jj8qz2vy7o Před 10 měsíci +7

    I've been trying to get mmdet working in a google colab project, and I keep running into an error where it fails to build a wheel for mmcv. The project from the video appears to have been running fine a few months back, but when I am running the code now, it gets the error I've been getting. Is anyone getting the same error? Does anyone have any insight or fixes?

    • @seanolivieri4829
      @seanolivieri4829 Před 10 měsíci +1

      Me too:
      ERROR: Failed building wheel for mmcv
      ERROR: Could not build wheels for mmcv, which is required to install pyproject.toml-based projects
      ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
      yfinance 0.2.31 requires requests>=2.31, but you have requests 2.28.2 which is incompatible.
      ModuleNotFoundError: No module named 'mmdet'

    • @riley8705
      @riley8705 Před 9 měsíci

      Has anyone found a solution to this

    • @illyaaverchenko2263
      @illyaaverchenko2263 Před 5 měsíci

      I solved by installing torch==2.0.1 and some other stuff before installing all the mmdetection stuff.
      !pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 torchdata==0.6.1 torchtext==0.15.2 fastapi kaleido python-multipart uvicorn lida torchdata

    • @zeeshanrizvi3350
      @zeeshanrizvi3350 Před 3 měsíci +2

      Interestingly, I just solved this error a while ago. Try changing the version of torch to 2.0.0 and then run the command to install mmcv again. Hope it helps!

    • @tejas3099
      @tejas3099 Před 8 dny

      ​@@zeeshanrizvi3350 ​Thanks bro, your single comment was more helpful than the whole damn documentation💯

  • @thanachai.j
    @thanachai.j Před rokem +1

    Thank for teaching .❤

  • @murphy1162
    @murphy1162 Před rokem +2

    Great job!!! I just need it

    • @Roboflow
      @Roboflow  Před rokem

      We love to hear that! 🔥

    • @SkalskiP
      @SkalskiP Před rokem

      Thank you! 🙏

    • @tektronix475
      @tektronix475 Před rokem

      Does it have image anomaly detection?

    • @Roboflow
      @Roboflow  Před rokem

      @@tektronix475 when you say anomaly, do you mean fault detection?

    • @murphy1162
      @murphy1162 Před rokem

      @@Roboflowactually i am waiting for the latest SOTA swimTransformer for objectdetection!

  • @Lena-qk7qq
    @Lena-qk7qq Před 6 měsíci

    Awesome video, thanks!

  • @tryingtobeproductive
    @tryingtobeproductive Před rokem +2

    7:35 I chuckled haha

  • @AdarshSingh-rm6er
    @AdarshSingh-rm6er Před 4 měsíci

    Hey thanks for the informative video. It was really intuitive and helped me to understand more about mmdetection model. I was using mmdetection model for face detection and getting error AttributeError: 'list' object has no attribute 'pred_instances' when i am training the model on the below line :
    detections = sv.Detections.from_mmdetection(results)
    Your help will be greatly appriciated.

  • @abenezeryonathan3971
    @abenezeryonathan3971 Před 9 měsíci

    Thank you so much for this tutorial. I wanted to implement tracking but I am having problem with MMTracker and MMYOLO. Can you do MMDetection and MMTracker model training with custom dataset in the future.... Please 🙏

  • @valliebear5706
    @valliebear5706 Před 3 měsíci

    Hi good tutorial, can I ask about the train loss and validation loss you showed the loss graph so which is the validation and train loss? is it possible to open the json and manually fetch it and use matplot? because if I use the mmdetection 3.* it does not prove the validation loss. thank you

  • @sevenscapes
    @sevenscapes Před 5 dny

    Hey,
    Instead of colab,I am thinking on implementing this on Mac with m series chipset.
    In my scenario, does the training rely on apple’s MPS? Or it strictly requires CUDA?
    Thanks!

    • @Roboflow
      @Roboflow  Před 5 dny +1

      If you plan to train on mac you 100% can’t use cuda, but to be honest I’m not sure MMDetection supports mps.

  • @gauravlochab9614
    @gauravlochab9614 Před rokem +1

    very useful thanks!
    Can you make a tutorial on mm library as in whole

    • @Roboflow
      @Roboflow  Před rokem

      Hm... There are 30+ libraries in that ecosystem. That would probably be a very long video. What exactly would you like to learn?

    • @gauravlochab9614
      @gauravlochab9614 Před rokem

      ​@@Roboflow mmsegmentation and mmdetection
      context -Given a detection problem and the need to select an appropriate model based on data health check in Roboflow, how should I proceed? For instance, when dealing with factors such as small boxes or high resolution within the data, how do I determine the suitable model in mmdetection and its necessary tuning? Your guidance is greatly appreciated. I'm an avid consumer of your content and a daily user of Roboflow for data preparation. Thank you.

    • @hysskm
      @hysskm Před 11 měsíci

      ​@Roboflow I want to know how to convert Our dataset's annotation format into coco format

  • @fredcdf75
    @fredcdf75 Před 11 měsíci +1

    Thank you for this great tutorial! About the licenses, I think rtmdet is under Apache license only in mmdet but not in mmyolo (which is supposed to be a faster training version).
    In mmyolo rtmdet is under GPL v3 license. Please tell me if I am wrong I'd rather use mmyolo :)

    • @Roboflow
      @Roboflow  Před 11 měsíci +1

      This is really good question. Up until now thought that MMYolo offers only after training of MMDet model. So same model as MMDet. And only fast training code is under GPL.

    • @fredcdf75
      @fredcdf75 Před 11 měsíci

      @@Roboflow Yes you're right the model should be the same but different training code. Anyway thanks again for taking the time to make these tutorials and replying to comments. I'm still a beginner and it helps a lot 👍

  • @danielarmandovidalsoroa7787
    @danielarmandovidalsoroa7787 Před 5 měsíci

    Hello, can we also deploy the custom-trained RTMdet model in roboflow? Or it does not work? Could you provide the code?

  • @amarnathreddysurapureddy9111

    Is it possible to train the Annotated Custom dataset using pytorch?
    I want train a model using pytorch but annotated images from roboflow/cvit/supervision.
    I have 600 images. I Annotated 600 iamges with different labels .I want classify dog, cat, rabbit, cow and mouse. Is it possible?

  • @manujkumarjoshi9342
    @manujkumarjoshi9342 Před rokem

    Beautiful

  • @diemagic5140
    @diemagic5140 Před 6 měsíci +2

    Google Colab is not working please update it

    • @illyaaverchenko2263
      @illyaaverchenko2263 Před 5 měsíci

      @hyperion6821
      1 месяц назад
      I solved by installing torch==2.0.1 and some other stuff before installing all the mmdetection stuff.
      !pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 torchdata==0.6.1 torchtext==0.15.2 fastapi kaleido python-multipart uvicorn lida torchdata

  • @none-hr6zh
    @none-hr6zh Před 9 měsíci

    how to make mmd datasets if I have already datasets in yolo and coco format.

  • @seanolivieri4829
    @seanolivieri4829 Před 7 měsíci +1

    ERROR: Failed building wheel for mmcv

    • @hyperion6821
      @hyperion6821 Před 6 měsíci +3

      I solved by installing torch==2.0.1 and some other stuff before installing all the mmdetection stuff.
      !pip install torch==2.0.1 torchvision==0.15.2 torchaudio==2.0.2 torchdata==0.6.1 torchtext==0.15.2 fastapi kaleido python-multipart uvicorn lida torchdata yfinance
      still gets a conflict for the requests package but I didn't get any trouble with that.

    • @diemagic5140
      @diemagic5140 Před 6 měsíci

      @@hyperion6821 It works thanks

    • @danielarmandovidalsoroa7787
      @danielarmandovidalsoroa7787 Před 5 měsíci

      @@hyperion6821 It worked for me thank you 🙏

    • @michaelburford2151
      @michaelburford2151 Před 3 měsíci

      @@hyperion6821 worked !

    • @truongnguyennhat9356
      @truongnguyennhat9356 Před 2 měsíci

      @@danielarmandovidalsoroa7787 can u shere your script

  • @marcelopedras88
    @marcelopedras88 Před 7 měsíci

    It no longer works on Colab. Can you solve this?
    ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    ipython 7.34.0 requires jedi>=0.16, which is not installed.
    lida 0.0.10 requires fastapi, which is not installed.
    lida 0.0.10 requires kaleido, which is not installed.
    lida 0.0.10 requires python-multipart, which is not installed.
    lida 0.0.10 requires uvicorn, which is not installed.
    cvxpy 1.3.3 requires setuptools>65.5.1, but you have setuptools 60.2.0 which is incompatible.
    google-colab 1.0.0 requires requests==2.31.0, but you have requests 2.28.2 which is incompatible.
    yfinance 0.2.36 requires requests>=2.31, but you have requests 2.28.2 which is incompatible.

    • @Roboflow
      @Roboflow  Před 7 měsíci +1

      Please create issue here and describe your problems: github.com/roboflow/notebooks/issues

  • @Asadkhan-nz6qm
    @Asadkhan-nz6qm Před 11 měsíci +1

    Hello bro i have a question to the best of your knowledge which model is best for medical images?

    • @Roboflow
      @Roboflow  Před 11 měsíci

      Are we talking about segmentation or detection?

  • @GilbertJones-u7b
    @GilbertJones-u7b Před 5 dny

    Funk Tunnel

  • @lawrencerodriques7153

    Hey can you create a tutorial for smart Surveillance which detect human intrusion classify between authorised and unauthorised intruders and notify security person usign YOLO V8 please

    • @Roboflow
      @Roboflow  Před rokem

      How do I know which intrusion is authorized and unauthorized?

    • @lawrencerodriques7153
      @lawrencerodriques7153 Před rokem

      @@Roboflow You will have to create authorised persons dataset and then verify like attendance system

    • @lawrencerodriques7153
      @lawrencerodriques7153 Před rokem

      @@Roboflow please create it 🙏🙏

  • @HornbyDolores-s9i
    @HornbyDolores-s9i Před 5 dny

    Madyson Knoll

  • @me111ok
    @me111ok Před 6 měsíci +1

    Amazing how quickly tutorial on ML get outdated. But thanks anyways

    • @Roboflow
      @Roboflow  Před 6 měsíci

      At this point it is a full time job to be up to date ;)