Closed chingyaoc closed 8 years ago
@JamesChuanggg Thanks!
However, this code is maintained using test cases. Can you update cbptest.testPsi()
in test/test.lua
resulting an error. This test case checks the expectation of psi functions.
Thanks for reply. I'm wondering why using "dot" to measure the error since we can not computer dot for two vector with different length.
@JamesChuanggg You're right. It's for the compatibility check. Multimodal version is extended from unimodal version. In Section 3.2 of Gao et al. (2015), there is a property of E[<Ψ(x, h, s),Ψ(y,h, s)>] =<x, y>
about the phi(Ψ) function. The test case makes sure this property.
Could you update the test case having the same-sized vectors to check the phi function as before?
I've modified function psi() in CompactBilinearPooling.lua
to make it support same homogeneous case and `test/test.lua
return no error.
@JamesChuanggg Thanks!
Hi, I modified some codes in
CompactBilinearPooling.lua
to make it support different dimension of two input vectors. Please check it!