Skip to content

RuntimeError: expected scalar type Double but found Char #25

Description

@bonfus

Error shows up using v1.0.0 and torch 1.13.1 with CUDA.

To fix it I had to change

'agg_mat', torch.zeros((self.n_atoms, self.dim_d), dtype=torch.int8)

to dtype=torch.double.

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