Using ffcv for self-supervised learning #76
|
Thanks for this amazing work! I am working on self-supervised learning algorithms, mainly contrastive learning algorithms, and wondering how this work can be used to accelerate the training there. The key differences in the data loader part are that each image yields two or even more independent data augmentations (sometimes these augmentations even require different pipelines) and also data augmentations typically include color jittering and gaussian blurring. Do you have any idea on how these two things can be implemented in ffcv? |
Replies: 2 comments
|
Hi @chengxuz ! We are currently thinking of the right way to support putting the same field through multiple pipelines in FFCV. As an easy workaround in the meantime, I think you can use the suggestion from this issue: #77 (comment) . Basically, just create two Loaders, give them the same batch ordering seed, and then zip them together. |
|
Hello, this is planned under #82. Feel free to track this issue |
Hello, this is planned under #82. Feel free to track this issue