Git Product home page Git Product logo

Comments (4)

jcjohnson avatar jcjohnson commented on June 13, 2024

I think that running in batch mode will require nontrivial changes.

The current design is that the network accepts a single image of shape (1, C, H, W); the Localization Layer produces N regions of interest for the single image, and these region proposals end up in the minibatch dimension. If you wanted to run in batch mode, each image could potentially give rise to multiple regions of interest; you would need to keep track of the mapping between input image indexes and region proposal indexes, which would require modifying a number of files.

from densecap.

truskovskiyk avatar truskovskiyk commented on June 13, 2024

@jcjohnson thanks

from densecap.

abhinavagarwalla avatar abhinavagarwalla commented on June 13, 2024

@truskovskiyk Was your attempt successful in running batch mode ?

I also have a large data, which would take a lot of time if the batch size is 1. I was also trying to modify the code, but got stuck at Localization Layer. Particularly at expandAs since it only supports singleton expansion.
A trivial work around would be to just loop through all CNN features, but that's a bad idea. Any other thoughts ?

from densecap.

truskovskiyk avatar truskovskiyk commented on June 13, 2024

@abhinavagarwalla Unfortunately, I don't create batch mode. For my project now I use https://github.com/tensorflow/models/tree/master/im2txt which show greater improvements, wich shows greater result when train model with CNN

from densecap.

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.