Skip to content

problem in data loading #2

@cgc-cell

Description

@cgc-cell

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions