Giter Club home page Giter Club logo

dnl-object-detection's People

Contributors

howal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dnl-object-detection's Issues

version question

Hello,I use cuda 10.0 and meet the question
//---------------------------------------------------------------
File "/home/hjl/object-detection/DNL-Object-Detection/mmdet/utils/flops_counter.py", line 35, in
from mmdet.ops.dcn import DeformConv, ModulatedDeformConv
File "/home/hjl/object-detection/DNL-Object-Detection/mmdet/ops/init.py", line 3, in
from .dcn import (DeformConv, DeformConvPack, DeformRoIPooling,
File "/home/hjl/object-detection/DNL-Object-Detection/mmdet/ops/dcn/init.py", line 1, in
from .deform_conv import (DeformConv, DeformConvPack, ModulatedDeformConv,
File "/home/hjl/object-detection/DNL-Object-Detection/mmdet/ops/dcn/deform_conv.py", line 9, in
from . import deform_conv_cuda
ImportError: libcudart.so.9.2: cannot open shared object file: No such file or directory
//--------------------------------------------------------------------------------------------------------------

is it means I should back cuda to 9.0 ?while the inplace_abn cuda should >10.0

//---------------------------------------------------------------------------------------
NOTE 1: our code requires PyTorch v1.1 or later

NOTE 2: we are only able to provide support for Linux platforms and CUDA versions >= 10.0

NOTE 3: in general, it is not possible to load weights from a network trained with standard BN into an InPlace-ABN network without severe performance degradation, due to the different handling of BN scaling parameters

To install the package containing the iABN layers:

pip install inplace-abn

unary branch

Thank your for great project. I have not find unary branch in your code. This DNL modules non-complete?

Inquiries about equation(17), (18)

Hello,
I have a question about your paper 'Disentangled Non-local Neural Networks' .

I tried to derive the formula equation (17), equation (18), but I failed. Could you explain why diagonal matrix of A^T*A is derieved to equation (17)??

Thank you.

change the mask-rcnn to faster-rcnn

Hello,can I change the model in faster-rcnn resnet instead of mask rcnn only by change this demo?
//---------------------------------------------------------------------------------------------------------------------

model settings

model = dict(
type='FasterRCNN',
pretrained='torchvision://resnet50',
backbone=dict(
type='ResNet',
depth=50,
num_stages=4,
out_indices=(0, 1, 2, 3),
frozen_stages=1,
#norm_cfg=dict(type='BN', requires_grad=True),
#norm_eval=True,
nlgcb=dict(ratio=1. / 4., downsample=False, whiten_type=['channel'], temp=0.05, with_gc=True, use_out=False,
out_bn=False),
stage_with_nlgcb=[[], [], [-2], [-2, -1, 0]],
style='pytorch'),
neck=dict(
type='FPN',
in_channels=[256, 512, 1024, 2048],
out_channels=256,
num_outs=5),
rpn_head=dict(
type='RPNHead',
in_channels=256,
feat_channels=256,
anchor_scales=[8],
anchor_ratios=[0.5, 1.0, 2.0],
anchor_strides=[4, 8, 16, 32, 64],
target_means=[.0, .0, .0, .0],
target_stds=[1.0, 1.0, 1.0, 1.0],
loss_cls=dict(
type='CrossEntropyLoss', use_sigmoid=True, loss_weight=1.0),
loss_bbox=dict(type='SmoothL1Loss', beta=1.0 / 9.0, loss_weight=1.0)),
bbox_roi_extractor=dict(
type='SingleRoIExtractor',
roi_layer=dict(type='RoIAlign', out_size=7, sample_num=2),
out_channels=256,
featmap_strides=[4, 8, 16, 32]),

Eq(12) in the paper

hello,thanks for your fantastic work!
I have some questions in the Eq(12), the shape of the former is(b,THW,THW),the shape of the latter is (b,1,THW),how about the addation. sorry, I don't know whether my understanding is correct or not .
thank you very much!

Eq (17) and (18) in the paper

1, Eq (17): How the CauchySchwarz inequality can be applied to different vectors?
2, Eq (18): The orders of /alpha seems to be wrong.
3, Is there any definitions for the normalized differences between query and key pixels?

Eq(9) in paper

  1. How does the first equal sign in Equation 9 hold?
  2. Why can $\lambda_i$ be omitted in subsequent discussions?

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.