Giter VIP home page Giter VIP logo

Comments (1)

Zardinality avatar Zardinality commented on May 31, 2024 3

@knmac It is an issue left in long history. lib/rpn_msr/proposal_layer.py stems back to the original repo from rbgirshick. But other tf implementation(Faster-RCNN_TF and many downstream projects) generally did not use it as it is a caffe layer, they use proposal_layer_tf.py instead, which is a direct rewritten version of proposal_layer.py in tf.

Now let's get back to why batch_size more than one not supported. I will refer two related issues in rbgirshick's original repo: issue1, issue2. As these two issues point out, batch_size more than one is just not implemented and there is a fork that works with batch size more than one. Unfortunately, the fork change a caffe layer to do the work, while we use a tf one.

By far my advice is, either manually find all changes in proposal_layer.py of the working fork with respect to proposal_layer_tf.py(and possible many other scripts) and fix them, or split the feature batch to multiple single item batch before passing to the proposal_layer, proposal_target_layer and so on.

You might also want to look into many refactored works of mask r-cnn (such as this) that support multi-GPU training if you are looking for it.

from tf_deformable_net.

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.