You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "run.py", line 228, in
exp.test(setting, test=1)
File "G:\PythonProjects\TimeXer-main\exp\exp_long_term_forecasting.py", line 233, in test
outputs = test_data.inverse_transform(outputs.squeeze(0)).reshape(shape)
ValueError: cannot select an axis to squeeze out which has size not equal to one
Traceback (most recent call last):
File "run.py", line 228, in
exp.test(setting, test=1)
File "G:\PythonProjects\TimeXer-main\exp\exp_long_term_forecasting.py", line 231, in test
outputs = test_data.inverse_transform(outputs.reshape(shape[0] * shape[1], -1)).reshape(shape)
File "G:\PythonProjects\TimeXer-main\data_provider\data_loader.py", line 434, in inverse_transform
return self.scaler.inverse_transform(data)
File "G:\anaconda3\envs\TimeXer\lib\site-packages\sklearn\preprocessing_data.py", line 1052, in inverse_transform
X *= self.scale_
ValueError: non-broadcastable output operand with shape (96,1) doesn't match the broadcast shape (96,3)
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "run.py", line 228, in
exp.test(setting, test=1)
File "G:\PythonProjects\TimeXer-main\exp\exp_long_term_forecasting.py", line 233, in test
outputs = test_data.inverse_transform(outputs.squeeze(0)).reshape(shape)
ValueError: cannot select an axis to squeeze out which has size not equal to one
按照 thuml/Time-Series-Library@20eff0e
修改后,依然报错:
Traceback (most recent call last):
File "run.py", line 228, in
exp.test(setting, test=1)
File "G:\PythonProjects\TimeXer-main\exp\exp_long_term_forecasting.py", line 231, in test
outputs = test_data.inverse_transform(outputs.reshape(shape[0] * shape[1], -1)).reshape(shape)
File "G:\PythonProjects\TimeXer-main\data_provider\data_loader.py", line 434, in inverse_transform
return self.scaler.inverse_transform(data)
File "G:\anaconda3\envs\TimeXer\lib\site-packages\sklearn\preprocessing_data.py", line 1052, in inverse_transform
X *= self.scale_
ValueError: non-broadcastable output operand with shape (96,1) doesn't match the broadcast shape (96,3)
The text was updated successfully, but these errors were encountered: