Coder Social home page Coder Social logo

Comments (7)

sdesrozis avatar sdesrozis commented on June 25, 2024 1

@oke-aditya Thanks a lot for sharing these ideas that could really be a great improvement !

The great thing would be if you were willing to participate ! :-)

My thoughts

  1. That would be interesting but this generator was initiated for pytorch-ignite firstly.
  2. Yep, the main point is to have a detection usecase. We are working on mAP, hope we will finish soon !
  3. I agree !!
  4. That sounds great ! Good idea !

from code-generator.

oke-aditya avatar oke-aditya commented on June 25, 2024 1

I would be willing to participate 😄 If few more people are interested from discord, it would be easy to team up and tackle in sprints

from code-generator.

vfdev-5 avatar vfdev-5 commented on June 25, 2024 1

@sayantan1410 I think we still need to discuss the scope of this item. @oke-aditya can you please expand a bit more the idea ?

@sayantan1410 if you would like to tackle something more well defined, for example, there is #173 which is still open. Tackling this issue IMO you'll get a better understanding of the app and the code. What do you think ?

from code-generator.

oke-aditya avatar oke-aditya commented on June 25, 2024 1

Hi! and sorry for the delay. I was not well yesterday.
@sayantan1410 and @vfdev-5 Let me elaborate the scope.

Connecting torch.hub and code generator.

torch.hub provides a very good support for Open source libraries. All the libraries need a hubconf.py which would provide the models. Note that all classification models in torchvision are provided in hub. And there are many models which have hub support. E.g. YOLO-P, YOLOv5, Tacotron, etc

Torch hub internally clones the entire Github repo, which allows easy model building. Note that the model which is built is a dynamic graph (not a static one, like JIT scripted from Torchscript). This makes it feasible to re-train or fine-tune with pretrained weights. Torch hub does the hard part of model_building. It's hard to write and verify models from scratch.

What ignite code-gen can do?

Ignite codegen can provide boiler plate and the training script, which allows to train on any new dataset (and also with some standard datasets available in torchvision like VOC / COCO).
This is basically a rewrite of train.py with ignite. (Although we would need to verify if good results can be obtained with the new training recipe, which is slightly hard). Since ignite takes care of distributed training, etc it would be easier to train.

This makes retraining of models very simple, and with config.yaml (which has good defaults) it would be easy to fine-tune on custom data. (Maybe by passing data_dir as parameter?)

P.S.
We could all meet over discord to discuss as well.

from code-generator.

sayantan1410 avatar sayantan1410 commented on June 25, 2024

Hey, I would like to work on implementing this

4. A direct torch.hub connection. Maybe all the models listed in torch.hub can be easily trained?

Can you please guide me on how to start with this.

from code-generator.

sayantan1410 avatar sayantan1410 commented on June 25, 2024

@vfdev-5 Yeah, that is great, I will continue with #173.

from code-generator.

sayantan1410 avatar sayantan1410 commented on June 25, 2024

@oke-aditya It will be more helpful for me to understand if we can have a meet.

from code-generator.

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.