Giter Club home page Giter Club logo

Comments (12)

RuiminChen avatar RuiminChen commented on July 21, 2024

@unsky Hi, thanks for your work. I have tried training ResNet50 deformable Fast RCNN end2end model on WIDER FACE DataSet, the loss seemed normally converge, but I got nothing when I test my model. Moreover, I have tried training deformable VGG16 on Imagenet, the loss could not even converge. Do you have any idea about this?
Best

2017-12-29 18 33 22
2017-12-29 18 33 05

from deformable-convnets-caffe.

unsky avatar unsky commented on July 21, 2024

the setting of batch norm is very very import in detection task,you can refer the setting in my model.
ps:i think there have mang bugs in your test

from deformable-convnets-caffe.

RuiminChen avatar RuiminChen commented on July 21, 2024

@unsky I don't think I have many bugs in my test, here is my results using your res50 faster rcnn config but replace deformable convolution by normal convolution, trained on WIDER FACE with 120000 iterations.
2017-12-29 20 14 37
And all my BatchNorm config in training is like below:
layer {
bottom: "res3a_branch1"
top: "res3a_branch1"
name: "bn3a_branch1"
type: "BatchNorm"
batch_norm_param {
use_global_stats: true
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}

layer {
bottom: "res3a_branch1"
top: "res3a_branch1"
name: "scale3a_branch1"
type: "Scale"
scale_param {
bias_term: true
}
}
Can you share your deformable resnet50 faster rcnn trained model on PASCAL VOC to help me check my mistakes?
Thank you

from deformable-convnets-caffe.

unsky avatar unsky commented on July 21, 2024

@RuiminChen
https://github.com/unsky/Deformable-ConvNets-caffe/blob/master/deformable_conv_faster-rcnn/models/pascal_voc/ResNet50/faster_rcnn_end2end/train.prototxt
i think we should fix scale params

from deformable-convnets-caffe.

lawpdas avatar lawpdas commented on July 21, 2024

Hi,@RuiminChen ! Have you solved the problem on VGG16?

from deformable-convnets-caffe.

RuiminChen avatar RuiminChen commented on July 21, 2024

@lawpdas yes, my results seems normal now on both resnet50 and VGG16

from deformable-convnets-caffe.

lawpdas avatar lawpdas commented on July 21, 2024

@RuiminChen What should I do with VGG16? Can you give me some suggestions?
Thanks!

from deformable-convnets-caffe.

haoliyoupai09 avatar haoliyoupai09 commented on July 21, 2024

@RuiminChen Could you tell me whether transferring the deformable convolutional network to the VGG 16 network works or not? I'm planing to apply the deformable convolutional network to the visual tracking field and quite curious about the effect of it.
Looking forward to your reply!

from deformable-convnets-caffe.

zhanglonghao1992 avatar zhanglonghao1992 commented on July 21, 2024

@RuiminChen Hi ~ I have trained a classification network using deformable ResNet50 and the loss could converge. But when i viewed the offset the model have learned, I found it was very big. It seems like the network dosn't even use these deformable conv layer because the offsets are out of the image boundary..
How do you train the vgg net for ImageNet cls task?

from deformable-convnets-caffe.

RuiminChen avatar RuiminChen commented on July 21, 2024

@zhanglonghao1992 You may check DCNV2 here https://github.com/msracver/Deformable-ConvNets, They have already solved a possible issue when the sampling location is outside of image boundary

from deformable-convnets-caffe.

Jokercy avatar Jokercy commented on July 21, 2024

@unsky I don't think I have many bugs in my test, here is my results using your res50 faster rcnn config but replace deformable convolution by normal convolution, trained on WIDER FACE with 120000 iterations.
2017-12-29 20 14 37
And all my BatchNorm config in training is like below:
layer {
bottom: "res3a_branch1"
top: "res3a_branch1"
name: "bn3a_branch1"
type: "BatchNorm"
batch_norm_param {
use_global_stats: true
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
param {
lr_mult: 0.0
decay_mult: 0.0
}
}

layer {
bottom: "res3a_branch1"
top: "res3a_branch1"
name: "scale3a_branch1"
type: "Scale"
scale_param {
bias_term: true
}
}
Can you share your deformable resnet50 faster rcnn trained model on PASCAL VOC to help me check my mistakes?
Thank you

Could you tell me some details about how to solve the problem?

from deformable-convnets-caffe.

niuchuangnn avatar niuchuangnn commented on July 21, 2024

Hi, @aresgao @RuiminChen @unsky @lawpdas @haoliyoupai09 , could you tell me if there exist bugs in the code, as in #31 (comment)? Thank you.

from deformable-convnets-caffe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.