Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我设置 "--features", "MS"后,我想要反归一化后的PDF,报错我怎么改 #21

Open
zhurong-dot opened this issue Dec 20, 2024 · 1 comment

Comments

@zhurong-dot
Copy link

testing : long_term_forecast_ETTh1_96_96_iTransformer_ETTh1_ftMS_sl96_ll48_pl96_dm512_nh8_el2_dl1_df2048_expand2_dc4_fc3_ebtimeF_dtTrue_Exp_0<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
test 2785
Traceback (most recent call last):
File "run.py", line 194, in
exp.test(setting)
File "G:\Time-Series-Library-main\Time-Series-Library-main\exp\exp_long_term_forecasting.py", line 207, in test
outputs = test_data.inverse_transform(outputs.reshape(shape[0] * shape[1], -1)).reshape(shape)
File "G:\Time-Series-Library-main\Time-Series-Library-main\data_provider\data_loader.py", line 109, in inverse_transform
return self.scaler.inverse_transform(data)
File "F:\shuoAPP\anaconda\envs\QHZS\lib\site-packages\sklearn\preprocessing_data.py", line 1052, in inverse_transform
X *= self.scale_
ValueError: operands could not be broadcast together with shapes (3072,49) (7,) (3072,49)

@lss-1138
Copy link
Owner

看起来用的是Time-Series-Library的代码,建议问下Time-Series-Library的实现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants