temporal_fusion_transformer_pytorch
temporal_fusion_transformer_pytorch copied to clipboard
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Hello, I meet this problem when I run training_tft.ipynb TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Hello, this code uses an older version of pytorch lightning and is going to have problems. I recommend you visit PyTorch Forecasting, it took the temporal fusion transformer from this repo and has an updated implementation for you to use. https://github.com/jdb78/pytorch-forecasting/tree/master
this seem a problem with pd.read_csv and set index_col = 0 or numpy,just remove the index_col = 0 and manual remove with "drop"