Giter VIP home page Giter VIP logo

Comments (9)

Hakuyume avatar Hakuyume commented on July 27, 2024 2

I think it makes ChainerCV more convenient to provide examples that reproduce fb.resnet.torch (https://github.com/facebook/fb.resnet.torch).
This code also parses the directory tree to provide a labelled dataset.

from chainercv.

yuyu2172 avatar yuyu2172 commented on July 27, 2024

To make this more concrete, I added a classification link that I would like to add to ChainerCV.
#265

Please join this discussion @Hakuyume , @mitmul @rezoo

  1. What do you think about adding classification links to ChainerCV?
  2. What do you think about adding a ImageDataset to ChainerCV?

from chainercv.

Hakuyume avatar Hakuyume commented on July 27, 2024

@yuyu2172 I agree with both 1 and 2. Classification links and datasets in Chainer don't follow the convention of ChainerCV (CHW, RGB). We need our own version (Of course, if we can change the models in Chainer, we don't need ChainerCV version). I think the ChainerCV implementation of fb.resnet.torch is very convenient.

Add links. Possibly, it can be located at chainercv.links.model.classifcation.

This namespace is not consistent with other existing models. We don't have chainercv.links.model.detection or chainercv.links.model.semantic_segmentation.

from chainercv.

yuyu2172 avatar yuyu2172 commented on July 27, 2024

This namespace is not consistent with other existing models. We don't have
chainercv.links.model.detection or chainercv.links.model.semantic_segmentation.

OK.
How about chainercv.links.model.vgg, chainercv.links.model.resnet etc.
We can have different variants of VGGs under chainercv.links.model.vgg. For example, VGG16 and VGG19.
This seems better. Thanks for a suggestion.

from chainercv.

yuyu2172 avatar yuyu2172 commented on July 27, 2024

Of course, if we can change the models in Chainer, we don't need ChainerCV version

The change I would like to introduce (BGR->RGB and a lot of change in API) is too large. I think we can not hope to change the main Chainer code in the way I want.

from chainercv.

Hakuyume avatar Hakuyume commented on July 27, 2024

How about chainercv.links.model.vgg, chainercv.links.model.resnet etc.

Sounds good.

The change I would like to introduce (BGR->RGB and a lot of change in API) is too large. I think we can not hope to change the main Chainer code in the way I want.

I agree with you. Some of our modifications will not be accepted to Chainer. For example, we need our own VGG-16. I think it is OK.

from chainercv.

mitmul avatar mitmul commented on July 27, 2024

I agree with both, too.
As for 2., the Keras's flow_from_directory-like utility that enables to obtain image classification dataset by just parsing the directory tree, would be nice to be included as one of features of it. See here for the details: https://keras.io/preprocessing/image/

from chainercv.

yuyu2172 avatar yuyu2172 commented on July 27, 2024

As for 2., the Keras's flow_from_directory-like utility that enables to obtain image classification dataset by just parsing the directory tree, would be nice to have as one of features of it.

I agree with you. This will be really handy, and we should implement it.

from chainercv.

yuyu2172 avatar yuyu2172 commented on July 27, 2024

Done

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.