PyTorch implementation of MTAD-GAT (Multivariate Time-Series Anomaly Detection via Graph Attention Networks) by Zhao et. al (2020, https://arxiv.org/abs/2009.02040).
MIT License
328
stars
76
forks
source link
Input type (torch.cuda.FloatTensor) and weight type (torch.FloatTensor) should be the same #23
This happens when your data are on the GPU (torch.cuda.FloatTensor), but your model is not. You need a model.to(device) line, where device is something like cuda:0.
This happens when your data are on the GPU (torch.cuda.FloatTensor), but your model is not. You need a
model.to(device)
line, wheredevice
is something likecuda:0
.