In the line of datasets/shha.py:
dotseq = torch.from_numpy(np.load(self.dotpath.format(smpid)))[:, :2] * resize_factor
seq is being sliced to include only the first two columns (:2).
Then, in the line of datasets/utils.py
for i, seq in enumerate(dotseqs):
u = torch.amin(seq[:, 2:], dim=1, keepdim=True)
you are trying to access seq[:, 2:], i.e., columns starting from index 2.
The u can't get from the dotseq. Is that a bug?
In the line of datasets/shha.py:
seqis being sliced to include only the first two columns (:2).Then, in the line of datasets/utils.py
you are trying to access
seq[:, 2:], i.e., columns starting from index 2.The
ucan't get from thedotseq. Is that a bug?