参考教程()。
尽管“ plot_prediction ”方法正常工作,但使用“ plot_prediction_actual_by_variable()”的结果图不显示任何' prediction '或'实际'曲线。例如:
产生的绘图图像
分析 carculate_prediction_prediction_actual_by_variable_variable_variable_variabil_variabil_variable_variable_variabil_variabil_variable()方法,我意识到存在一些 nans 值
nans values
有人遇到这个问题吗?
referring to the tutorial (https://pytorch-forecasting.readthedocs.io/en/stable/tutorials/stallion.html) provided by Pytorch about their implementation of the Temporal Fusion Transformer, I'm trying to use their calculate_prediction_actual_by_variable() and plot_prediction_actual_by_variable() methods on a custom dataset.
Although the "plot_prediction" method works correctly, the resulting plots using "plot_prediction_actual_by_variable()" do not show any 'prediction' or 'actual' curve. E.g:
Resulting Plot Image
Analyzing the tensors produced by the calculate_prediction_actual_by_variable() method, I realized that some NaNs values are present
NaNs Values
Has anyone encountered this problem?
发布评论