Giter VIP home page Giter VIP logo

Comments (8)

yuyu2172 avatar yuyu2172 commented on July 27, 2024

Note that I omitted __init__.py for brevity.

from chainercv.

yuyu2172 avatar yuyu2172 commented on July 27, 2024

Also note that links/model and links/loss are good for consistency with chainer.links.

from chainercv.

Hakuyume avatar Hakuyume commented on July 27, 2024

I think the proposed structure is good. But if we expect losses are reused in other models, it is better to give them names which is not depend on models. For example, ssd_loss.py -> multibox_loss.py (of course, this name should be discussed).

from chainercv.

yuyu2172 avatar yuyu2172 commented on July 27, 2024

Yeah, ssd_loss.py and faster_rcnn_loss.py should be discussed.
On faster_rcnn_loss.py, it is very difficult to provide it in a general form because it assumes heavily the structure of Faster RCNN.
I think that if losses assume too much about the underlying models, it would be better to put it under model/MODEL_NAME.
Or, we can just leave it as faster_rcnn_loss.py indicating that it is model specific.
I think making it general is something that should be encouraged, but not necessary.

from chainercv.

Hakuyume avatar Hakuyume commented on July 27, 2024

I think that if losses assume too much about the underlying models, it would be better to put it under model/MODEL_NAME.

I like this solution. Only if we can make a loss general, we should put it into links/model/loss.

from chainercv.

Hakuyume avatar Hakuyume commented on July 27, 2024

I will implement the loss of SSD in links/model/ssd/multibox_loss.py first. If it seems enough general, I will move it into links/model/loss/<good_name>.py.

from chainercv.

Hakuyume avatar Hakuyume commented on July 27, 2024

I think some utils in Faster-RCNN are useful for SSD. After both models are fixed, I will suggest integration.

from chainercv.

yuyu2172 avatar yuyu2172 commented on July 27, 2024

The issue can be closed.

from chainercv.

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.