issue 33 padding#35
Conversation
|
Hi @tanglef, Thanks a lot for your help, and all my apologies for the very late answer. I've been mostly busy with non-OT-related works in 2020 and am only able to get back to serious development of the GeomLoss package now that KeOps v1.5 is out and our paper on unbalanced OT has finally been submitted. As part of my PostDoc at Imperial College, I have become familiar with the PyTorch_geometric toolbox that handles heterogeneous batches using an elegant "batch vector". The system is very much compatible with KeOps (as detailed in e.g. this In this context, what would be your opinion on the files that we could keep from this PR? As far a I can tell, the best option would be to adapt and keep the In any case, thanks again for everything, |
|
Hi @jeanfeydy ! No worries, and congrats for your work. The Thanks a lot! And good luck to you with this feature |
|
Hi @jeanfeydy and @tanglef. As I understand, this PR makes it much slower, is that correct? What would be your recommendation for dealing with a batch of input sequences of different lengths? This use case is ubiquitous in NLP or speech processing applications, so having support for it could be highly influential I believe. |
Makes it easier to work with batchs of different sizes (using lists) and an example of how to use it in the doc (with benchmark)