Closed dkoutsou closed 6 years ago
But the code is OK as it is as long as you pass the sizes of the two samples on construction, instead of the samples themselves, right? And I think this is well documented in the constructors.
My bad, didn't pay attention to that and I was misguided by the error.
Hi,
I am trying to use the non-differentiable statistics to compute the p-values. My code is as follows:
sample_1, sample_2 are pytorch variables of size [100x22]. However I have the following two errors (they are exactly the same regardless of which statistic I want to use):
Uncommenting that line from the source code and recompiling the package solves that error.
The second one is:
The return type of mst is a FloatTensor of size [200x200]. Am I doing something wrong in the utilization of the package? How can I fix the second error?
Edit: Ok, the first fix was the problem for the second one. Setting:
in both statistics seems to fix the errors without messing up the functionality of the code. Shall I submit a PR?