sGDML
sGDML copied to clipboard
RuntimeError: expected scalar type Double but found Char
Error shows up using v1.0.0 and torch 1.13.1 with CUDA.
To fix it I had to change
https://github.com/stefanch/sGDML/blob/8af877adf02b05862b47c593f576ffcc6badf889/sgdml/torchtools.py#L549
to dtype=torch.double
.