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 get that error. I would like anyone to help me.
def dist_pair(self, pair_ixd):
with tf.compat.v1.variable_scope("WarpedSiameseRNNDistPair") as scope:
# unless it is the first call, then reuse the variables of the scope
if self.is_first_dist_pair_call:
self.is_first_dist_pair_call = False
else:
scope.reuse_variables()
# T x K tensors, for T the latent time indices and K the number of RNN cells (encoder length)
A = self.h[:, 2*pair_ixd, :]
B = self.h[:, 2*pair_ixd+1, :]
TypeError: tuple indices must be integers or slices, not tuple
The text was updated successfully, but these errors were encountered:
I get that error. I would like anyone to help me.
def dist_pair(self, pair_ixd):
TypeError: tuple indices must be integers or slices, not tuple
The text was updated successfully, but these errors were encountered: