It would be good to have more examples from the official examples repo reproduced in ignite.
Specifically, I would like to see if ignite can lead to compact but full-featured code in:
before I feel confident enough to use it.
Thanks for the suggestion. I think more examples would be great and something we'd like to get to. Of course PR's are welcome!
@karandwivedi42 good proposition!
Personnally, I started some more examples here and find out that classification tasks can be easily implemented, so ImageNet example won't be very different from MNIST.
Concerning detection or segmentation examples, we will need to rewrite all the stuff: data augmentation, data transformations (bounding box encoding/decoding) around the task depending on the architecture used, e.g. Faster-RCNN, RetinaNet for detection or a basic UNet for segmentation.
I do not know whether RL or Neural Style examples would not suffer of the same "problem"...
with regards to detection, I think the transforms etc. should live in torchvision or a detection specific package. Beyond that it's just a supervised training task I believe so don't see any difficulty of using ignite for this.
Although, I still think examples of how to use ignite for these would be cool
@alykhantejani I agree. We can create github project on this issue.
And maybe can port to ignite more examples from pytorch/examples, where there are imagenet, RL...
Language modelling example from pytorch/examples could use a refactor...
Agreed that this sounds like a good idea. Neural Style, detection, Imagenet etc should work no problem. The only thing we may want is some more task-specific metrics. RL will probably not work super well, though it will depend on the algorithm used.
In a previous issue users asked about hyperparameter tuning, maybe we could also provide an example using ray library.
Upvote if you think this can be interesting to include to the repository
I'll add a language modelling example hopefully this week
Are there any other examples people are interested in transferring over? I'm happy to port over more examples. Is the team looking for specific types of examples?
me too I was planning to provide an example on image segmentation task. Detection task would require a lot of side preparation stuff, however we could port something from roytseng/Detectron.pytorch or wait when @fmassa will release official Detectron Pytorch and we could simplify the training part with Ignite :)
@vfdev-5 if you want to collaborate on a detection task, I'm happy to help out. I have an implementation of U-Net (segmentation) that I can port over to ignite over the next week.
Hi everyone!
I hope it is the right place to ask: I am really fascinated with Ignite and I would like to make my contribution to it, is there anything I could help?
I am currently doing some transfer learning stuff with Resnet, what is your take, would it be appropriate to include a tramsfer learning example in the Ignite repo? If yes, I am happy to write it :).
Hi @rpatrik96,
I'm not sure that transfer learning for classification is a useful example at the moment, mostly because the changes come in just how you load your model and set your learning rate, and doesn't necessarily showcase ignite any differently than the classification example does.
However, if you'd like to contribute more we welcome that :) please have a look at the issues, especially the ones tagged "help-wanted" and "good first issue" are good starting points.
Hi everyone!
I was wondering if it is ok to update the mnist example (mnist.py) with tqdm (two progress bars -- one for epoch and the other for iteration).
Hi @rave78 yes, that can be interesting to integrate tqdm into our basic examples like mnist. So, please send a PR on that and we can iterate over it.
Maybe only one progress bar on batches during the training would of interest, IMO. But let's see in the PR...
I can create a tensorboard logger example of a very simple image segmentation task, where the model finds which pixels represent borders of some cells. I doesn't use much ignite functionality absent from other example, but I think overall the are not enough examples of using tensorboard logger. Will that be useful? Would you like me to do it? Below you can see some images and the corresponding targets.

@philip-bl sure that ignite lacks examples on segmenation/object detection tasks. An example on Pascal VOC Segmentation from torchvision can be a more canonical, but we can use something else. What is the dataset you are using ?
@vfdev-5 bbbc018_v1
@philip-bl, ok, go ahead, send a PR and then let's discuss how to make it useful. You can provide a script example or notebook, as you like
Closed the issue as we provided most of discussed examples
Most helpful comment
In a previous issue users asked about hyperparameter tuning, maybe we could also provide an example using ray library.
Upvote if you think this can be interesting to include to the repository