Faster-RCNN finetuning with PyTorch. Object detection using PyTorch. Custom dataset. Wheat detection

  Рет қаралды 34,239

Datum Learning

Datum Learning

Жыл бұрын

In this video, we are going to see how can we fine tune a pretrained faster-rcnn model using PyTorch. The dataset we will be using is the wheat detection dataset.
The video has three objectives:
1. Explain the main portion of the code for fine tuning faster-rcnn.
2. How does the faster-rcnn finetuning look like and what layers are affected as a result?
3. See the whole code for fine tuning faster-rcnn.
We will see how the last layer of the faster-rcnn module is affected due to fine tuning. We also see how the Non Max Suppression (NMS) also works in the context of fine tuning faster-rcnn.
The main code for faster-rcnn is:
model = torchvision.models.detection.fasterrcnn_resnet50_fpn(pretrained = True)
num_classes = 2
in_features = model.roi_heads.box_predictor.cls_score.in_features
model.roi_heads.box_predictor = FastRCNNPredictor(in_features, num_classes)

Пікірлер: 20
@brunonogueirarenzo2306
@brunonogueirarenzo2306 Жыл бұрын
Great content, Datum!
@sachinkapase9218
@sachinkapase9218 Жыл бұрын
Great explanation. please make the video to calculate mAP for this.
@vijayalaxmiise1504
@vijayalaxmiise1504 8 ай бұрын
Sir, video has clarified many doubts. Thanks a lot
@studshelper9901
@studshelper9901 2 ай бұрын
now found the diamond from coal field, i used to detect text from image Thanks a lot😀😀
@karlm9584
@karlm9584 Жыл бұрын
I receive an error during setting up the targets for the model training in the for loop - for d in data: ... targ["boxes"] = d[1]["boxes"].to(device) causes an error. On inspection, len(d) returns 1 so the index of d[1] is invalid. How to solve this error please? Any attempts to solve it results in the input data being incompatible with the model
@tilakrajchoubey5534
@tilakrajchoubey5534 9 ай бұрын
will it work if my images are of different lengths??
@SumanMondal-qz4qd
@SumanMondal-qz4qd 2 ай бұрын
in the last cell where you have drawn the output image you didn't draw the boxes form the output you used the prior bounding boxes which are meant to use for training and validation.... I found this misleading
@atamsujiwanto1840
@atamsujiwanto1840 Жыл бұрын
how if we use 3 labels, sir? can you explain the code for 3 labels?
@rihababbessy5707
@rihababbessy5707 Жыл бұрын
Is that works with tensorflow ?
@raehanfelda8956
@raehanfelda8956 Жыл бұрын
can you make video about how to tuning yolov8 hyperparameter using raytune?
@rv0_0
@rv0_0 Жыл бұрын
link to the code please
@AbhiramMirthipati
@AbhiramMirthipati 3 ай бұрын
How to get the accuracy of the model get printed ?
@luisleal4169
@luisleal4169 2 ай бұрын
great video! chan you share the code and dataset? do you have any github repo?
@user-dv2fk4qs4w
@user-dv2fk4qs4w 3 ай бұрын
How can I contact you? I want to clarify some points
@bholuramgurjar900
@bholuramgurjar900 Жыл бұрын
Good job! can you share the code?
@_maha_
@_maha_ Ай бұрын
how you evaluate the model
@nra6925
@nra6925 4 ай бұрын
can you make tutorial for retinet model?
@nasimaislambithi9510
@nasimaislambithi9510 5 ай бұрын
uploads the code link pls
@user-yj9jp4bz7v
@user-yj9jp4bz7v 6 ай бұрын
hi
@geekroy1728
@geekroy1728 6 ай бұрын
bro posts only videos, but not github links🤣🤣🤣
R-CNN: Clearly EXPLAINED!
18:32
Soroush Mehraban
Рет қаралды 24 М.
OMG😳 #tiktok #shorts #potapova_blog
00:58
Potapova_blog
Рет қаралды 3,5 МЛН
I’m just a kid 🥹🥰 LeoNata family #shorts
00:12
LeoNata Family
Рет қаралды 16 МЛН
THEY WANTED TO TAKE ALL HIS GOODIES 🍫🥤🍟😂
00:17
OKUNJATA
Рет қаралды 2,8 МЛН
Fast R-CNN: Everything you need to know from the paper
38:37
Soroush Mehraban
Рет қаралды 11 М.
How to build custom Datasets for Images in Pytorch
8:19
Aladdin Persson
Рет қаралды 100 М.
YOLOv8 | Object Detection on a Custom Dataset using YOLOv8
17:41
Code With Aarohi
Рет қаралды 118 М.
Mask R-CNN Practical Implementation
29:15
Code With Aarohi
Рет қаралды 54 М.
Faster R-CNN: Faster than Fast R-CNN!
12:18
Soroush Mehraban
Рет қаралды 5 М.
1 Object Detection Using Faster R-CNN
12:48
Code With Aarohi
Рет қаралды 70 М.
285 - Object detection using Mask RCNN (with XML annotated data)
27:01
AIs learn to WALK
20:21
Pezzza's Work
Рет қаралды 53 М.
OMG😳 #tiktok #shorts #potapova_blog
00:58
Potapova_blog
Рет қаралды 3,5 МЛН