How to Train a Custom Faster R-CNN Model with Facebook AI's Detectron2 | Use Your Own Dataset

  Рет қаралды 28,349

Roboflow

Roboflow

Күн бұрын

Пікірлер: 41
@Baddogbling321
@Baddogbling321 7 ай бұрын
HI, the colab notebooks are very outdated to the point nothing works. PLEASE UPDATE THE COLAB NOTEBOOKS ROBOFLOW! Thanks.
@Mee-yp5in
@Mee-yp5in 2 жыл бұрын
A very fine platform for preparing dataset and training model, recommended!!
@athlete645
@athlete645 3 жыл бұрын
When the model was trained, shouldn't have the cfg.MODEL.ROID_HEADS.NUM_CLASSES been changed? The comment on that line says "your number of classes +1". Thank you for the great explanation! This was exactly the video I needed.
@shoebbashar4385
@shoebbashar4385 7 ай бұрын
Please update the colab notebook to tensorflow latest version.
@cheerio4742
@cheerio4742 Жыл бұрын
error when installing torch and torchvision in their version "Could not find a version that satisfies the requirement torch==1.5"
@GaJolGuru
@GaJolGuru 11 ай бұрын
Hi Roboflow Thanks for this great video, can you perahps help me out here. I used the workflow and updated both torch and torchvision as these old packages are not available anymore. However detectron2 seems not to be found anywhere, any ideas? Thanks
@__-dr2if
@__-dr2if 5 ай бұрын
the code uses tensorflow_gpu 1.5 but now google colab supports 2.8.0 or above and so not able t download API
@alhasanalshaebi
@alhasanalshaebi 3 жыл бұрын
How does one choose an optimal number of epochs?especially in this case of Dataset.
@Fatima-kj9ws
@Fatima-kj9ws 3 жыл бұрын
Great, very well explained tutorial. Thank you very much
@Lifewithballi
@Lifewithballi Жыл бұрын
i have question are you free ???
@Paperwhite786
@Paperwhite786 3 жыл бұрын
This is a Roboflow ad
@omerkaya5669
@omerkaya5669 Жыл бұрын
I have several questions? How can I plot PR curve and ROC curve? I also want to reach the image of confusion matrix. Where can I find the F score value and mAP values?
@Roboflow
@Roboflow Жыл бұрын
Unfortunately, those metrics don't come out of the box with Detectron2. However, you can calculate them using other packages, for example: github.com/SkalskiP/onemetric
@omerkaya5669
@omerkaya5669 Жыл бұрын
@@Roboflow Thank you for answer. Roboflow is the best learning page
@omerkaya5669
@omerkaya5669 Жыл бұрын
@@Roboflow confusion_matrix = ConfusionMatrix.from_detections( true_batches=true_batches, detection_batches=detection_batches, num_classes=1 ) I run this code. but i take this error. NameError: name 'ConfusionMatrix' is not defined
@tanzimmostafa
@tanzimmostafa 2 жыл бұрын
Hello, can someone please tell me how to find out the mAP metric. The notebook only shows the AP for each object class.
@drswapnil1234
@drswapnil1234 2 жыл бұрын
Hi. I need to detect circles in a custom model. I have annonated the training images using labelme. It gives 2 no pairs in the json. Can you pls help in how to modify the code for circle detection. Its giving an error as not polygon with current code. Thanks
@akshayakki5692
@akshayakki5692 Жыл бұрын
Sir, is it necessary to annotate test images also or why we should have annotated labels for test images those images are for only testing right.
@danaali1710
@danaali1710 2 жыл бұрын
Hi, thank you please answer my question. if my project consists of detecting one class of object , should i annotate my images and create bounding box.
@anirudhputsala8276
@anirudhputsala8276 3 жыл бұрын
Hi, After generating the dataset, the train folder neither show any preview of the images nor has a folder of it's name in the download. Is there any limit of images I could train without pro version?
@minsoojeong199
@minsoojeong199 3 жыл бұрын
Hello, thank you for the good lecture. I'd like to know how many photos I can upload to roboflow.
@rohanrane7835
@rohanrane7835 3 жыл бұрын
Hi, it is showing me import error when executing "from detectron2 import model_zoo". How do I fix this?
@melvin1919
@melvin1919 3 жыл бұрын
When i run , the class names are not showed up? any reason why?
@_ABDULGHANI
@_ABDULGHANI 3 жыл бұрын
Hello there and thank you, if I want to train for longe time is this method support continue from the last checkpoint.
@pavan3078
@pavan3078 10 ай бұрын
anyone knows what is happening here ERROR: Could not find a version that satisfies the requirement torch==1.5 (from versions: 1.11.0, 1.12.0, 1.12.1, 1.13.0, 1.13.1, 2.0.0, 2.0.1, 2.1.0) ERROR: No matching distribution found for torch==1.5
@g666fan
@g666fan 4 ай бұрын
Yeah same. Did you already fix it?
@vigneshbalaji6826
@vigneshbalaji6826 3 жыл бұрын
How to use multi-gpu in detectron2 for custom data training
@tutsy98
@tutsy98 Жыл бұрын
THANK U ROBOFLOWWWWW
@zubairsk1624
@zubairsk1624 2 жыл бұрын
can any one please tell me how to train it on my local GPU instead of colab notebook
@altamontholmes8719
@altamontholmes8719 3 жыл бұрын
Hi, how can I visualize the feature maps? Btw thanks for the good and brief tutorial!
@himomhey3437
@himomhey3437 Жыл бұрын
Good Tutorial! How can I deploy the model.pth in a raspberry pi 4
@JOHN-vb5bh
@JOHN-vb5bh 3 жыл бұрын
Can anyone give suggestions or instructions on integrating this code with detectron2 official code. I had done from detectron2.engine import MyTrainer from detectron2.engine import LossEvalHook and trainer = MyTrainer(cfg) in my training scripts But getting an error TypeError Traceback (most recent call last) in 21 22 os.makedirs(cfg.OUTPUT_DIR, exist_ok=True) ---> 23 trainer = MyTrainer(cfg) 24 trainer.resume_or_load(resume=False) 25 trainer.train() TypeError: 'module' object is not callable Please help me to solve this problem
@neelkanthbhavnagarwala6001
@neelkanthbhavnagarwala6001 Жыл бұрын
SizeMismatchError when trying to train a model on custom dataset
@hailuu625
@hailuu625 3 жыл бұрын
Is there anyone got error KeyError: 'instances'
@janeng91
@janeng91 3 жыл бұрын
Did you trained this model? How long for the training time?
@neelkanthbhavnagarwala6001
@neelkanthbhavnagarwala6001 Жыл бұрын
sizeMismatchError when trying to train a model using custom dataset..
@darkamax1
@darkamax1 3 жыл бұрын
Hello, Thank you for the amazingly well explained tutorial. I wrote a code and am using detectron2 to identify objects. It is working great with my in built webcam but whenever I try and use my webcam, it displays only the first frame and then says ..."ASSERT: "false" in file qasciikey.cpp, line 501" My Hardware config is as follows Ubuntu 18.04 Nvidia GeForce GTX 1650Ti Card Torch Version '1.8.1+cu102' Cuda 10.2 Python 3.6.9 Any help will be much appreciated. Thanks in advance.
@darkamax1
@darkamax1 3 жыл бұрын
Also my code is unable to read any key inputs when it is running, when attempting to quit the code with if ord=='q': cv2.destroyAllWindows() it either hangs or dumps the code with error Segmentation fault, core dumped Thanks
@DiepHuongTran
@DiepHuongTran Жыл бұрын
hello sir. cfg.MODEL.ROI_HEADS.NUM_CLASSES = 4 # your number of classes + 1. If I train 6 classes, set it to 7 right?
@vigneshbalaji6826
@vigneshbalaji6826 3 жыл бұрын
How to use multi-gpu in detectron2 for custom data training
R-CNN: Clearly EXPLAINED!
18:32
Soroush Mehraban
Рет қаралды 30 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
Using Machine Learning with Detectron2
36:46
Meta Open Source
Рет қаралды 44 М.
AI can't cross this line and we don't know why.
24:07
Welch Labs
Рет қаралды 321 М.
Faster R-CNN: Faster than Fast R-CNN!
12:18
Soroush Mehraban
Рет қаралды 7 М.
How to Train YOLOv5 on a Custom Dataset
28:39
Roboflow
Рет қаралды 220 М.
YOLOv10: Train a Custom Model and Run Inference on Live Webcam
24:37
Nicolai Nielsen
Рет қаралды 25 М.
329 - What is Detectron2? An introduction.
23:55
DigitalSreeni
Рет қаралды 16 М.
YOLOv8: How to Train for Object Detection on a Custom Dataset
20:31
YOLOv5 training with custom data
20:29
SoftwaresAI
Рет қаралды 423 М.
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20