You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to run the experiment for the self and similarity measure. I could not find these experiments in the Jupyter notebook.
I first need to create the Ta and Tb in the following lines:
## self-similarity
Tb = h5open("trj.h5", "r") do f
read(f["layer3"])
end
Ta = h5open("trj-distort06.h5", "r") do f
read(f["layer3"])
end
d = colwise(Euclidean(), Ta, Tb)
mean(d)
### cross-similarity
da = colwise(Euclidean(), Ta, Ta[:, end:-1:1])
db = colwise(Euclidean(), Tb, Tb[:, end:-1:1])
mean(abs(db - da) ./ db)
For that mean, I'm using the following piece of code to create Ta (after applying t2vec to vecfile):
Hi,
I need to run the experiment for the self and similarity measure. I could not find these experiments in the Jupyter notebook.
I first need to create the
Ta
andTb
in the following lines:For that mean, I'm using the following piece of code to create Ta (after applying t2vec to vecfile):
But still, I need to create 'Tb'. COuld you please help me to create this dataset?
The text was updated successfully, but these errors were encountered: