Ignite: Example implementation of BYOL

Created on 5 Oct 2020  路  7Comments  路  Source: pytorch/ignite

馃殌 Feature

It would be nice to provide BYOL implementation with Ignite. For reference, we can take this repository: https://github.com/lucidrains/byol-pytorch

enhancement

Most helpful comment

Please note that I am in the process of implementing BYOL and BYOLv2(SimSiam) in ImageNet using Ignite myself!
Please visit:
BYOL - https://github.com/sally20921/BYOL
BYOLv2 - https://github.com/sally20921/SimSiam

@sally20921 Very excited to see your BYOL implementation powered by ignite ! I will have a look as soon as possible !

All 7 comments

Hi, is this still a desired feature?

@shngt yes, it is still open.

The BYOL paper uses ImageNet for experiments, but it can't be downloaded via torchvision. Should I use another dataset for the example, or just implement the DataLoaders and ask the user to download the dataset on their own? Or is there some other protocol to be followed?

It would be nice to have an ImageNet example. It should be added to reference use cases.

But maybe in a first step, we could provide an example using cifar which is available with torchvision.

What do you think ?

EDIT from https://arxiv.org/pdf/2006.07733.pdf

There are a lot of experiments based on ImageNet. I think that is what you would do. So cifar should not be sufficient...

Look here for a reference classification task from ImageNet https://github.com/pytorch/ignite/tree/master/examples/references/classification/imagenet

Dataloader is here https://github.com/pytorch/ignite/blob/915d69e8ebefdee8703f74f73af7e4c0bba0f771/examples/references/classification/imagenet/code/dataflow/dataloaders.py#L19

We suppose that ImageNet dataset is already downloaded. It is not explicitly said, we should add a mention on that point.

I agree - using CIFAR would not help much with ensuring correctness of the implementation. Thank you for pointing this out this file :)

Please note that I am in the process of implementing BYOL and BYOLv2(SimSiam) in ImageNet using Ignite myself!
Please visit:
BYOL - https://github.com/sally20921/BYOL
BYOLv2 - https://github.com/sally20921/SimSiam

Please note that I am in the process of implementing BYOL and BYOLv2(SimSiam) in ImageNet using Ignite myself!
Please visit:
BYOL - https://github.com/sally20921/BYOL
BYOLv2 - https://github.com/sally20921/SimSiam

@sally20921 Very excited to see your BYOL implementation powered by ignite ! I will have a look as soon as possible !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

karfly picture karfly  路  4Comments

jphdotam picture jphdotam  路  4Comments

Aiden-Jeon picture Aiden-Jeon  路  3Comments

czotti picture czotti  路  3Comments

vfdev-5 picture vfdev-5  路  3Comments