Giter Club home page Giter Club logo

efpn-detectron2's People

Contributors

andre-yin avatar charliepianist avatar gene-chou 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

Watchers

 avatar

efpn-detectron2's Issues

About Pretraining Model

Hello! First of all, I think your idea is very good. I read your blog, and I want to Recurrence results myself, but I didn't find the pretraining model. Can you provide the pre training model on Baidu cloud.

loss function

Which loss function should I use?

Can I use Ce loss?

def cross_entropy(input, target, *, reduction="mean", **kwargs):
"""
Same as torch.nn.functional.cross_entropy, but returns 0 (instead of nan)
for empty inputs.
"""
if target.numel() == 0 and reduction == "mean":
return input.sum() * 0.0 # connect the gradient
return F.cross_entropy(input, target, **kwargs)

loss function in wrappers.py

Which loss function should I use?

Can I use Ce loss?

def cross_entropy(input, target, *, reduction="mean", **kwargs):
"""
Same as torch.nn.functional.cross_entropy, but returns 0 (instead of nan)
for empty inputs.
"""
if target.numel() == 0 and reduction == "mean":
return input.sum() * 0.0 # connect the gradient
return F.cross_entropy(input, target, **kwargs)

The mmdetection version of EFPN is available ?

Nice work.
I am attracted by your work, and I am trying to replace my model's original FPN by EFPN, which is developed with MMdetection.
Is it able to realize it by mmdetection?THis module will be integrated into mmdetection?
Thanks.

Train on custom dataset

Is this code applicable for running on custom datasets? Will there be any problem caused by the loss function?

About training

Thanks for the repo,but i have a problem about training。
When I training with the faster_rcnn_X_101_32x8d_FPN_3x,it always out of the memory(TITAN X which i used only has 12G memory)
so i want to change it with faster_rcnn_R_101_FPN_3x
That‘s what i set
cfg.merge_from_file(model_zoo.get_config_file("COCO-Detection/faster_rcnn_R_101_FPN_3x.yaml"))
cfg.MODEL.WEIGHTS = ""
cfg.MODEL.RESNETS.NUM_GROUPS = 1 # 1 ==> ResNet; > 1 ==> ResNeXt
cfg.MODEL.RESNETS.WIDTH_PER_GROUP = 8
But it has the error of wrong input size:
RuntimeError: Given groups=1, weight of size [32, 512, 1, 1], expected input[2, 16, 208, 208] to have 512 channels, but got 16 channels instead
Am i setting wrong?
What should i modifiy

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.