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
Here it is calculating the similarity.
But I don't know why you use this loop: for sample_idx in range(self.num_sample) at outermost, the sample_idx is only used when you add the result into self.sample_idx
This codes is really slow, since you set the num_sample=16
I think you can remove for sample_idx in range(self.num_sample) and change the last line as
Hi guys, I am trying to reproducing your work. In the dataloader, I found this code:
Here it is calculating the similarity.
But I don't know why you use this loop:
for sample_idx in range(self.num_sample)
at outermost, thesample_idx
is only used when you add the result intoself.sample_idx
This codes is really slow, since you set the
num_sample=16
I think you can remove
for sample_idx in range(self.num_sample)
and change the last line asI don't know whether am I right.
The text was updated successfully, but these errors were encountered: