How ot.dist work with sequence? #524
Unanswered
huutuongtu
asked this question in
Q&A
Replies: 1 comment
-
You seem to have a size problem here. On sequences you should write your own distance function in full pytorch so that you can have full backprop. Te function should return an nxm matrix where n is the number of sequences in I'm converting this to a discussion since it does not seem a bug from POT. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I consider OT a black box, so I may ask something stupid.
I'm following Wasserstein 2 Minibatch GAN with PyTorch to train my own model, but I got error. My input and output are sequences. Here is my code:
The error:
How can I use ot.dist with sequence correctly?
Beta Was this translation helpful? Give feedback.
All reactions