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

About '--Inverse' #31

Open
NoBugNoErrorNoWarning opened this issue Nov 29, 2024 · 0 comments
Open

About '--Inverse' #31

NoBugNoErrorNoWarning opened this issue Nov 29, 2024 · 0 comments

Comments

@NoBugNoErrorNoWarning
Copy link

Thanks for your great work! I want to compare the inverse output data with origin data. But once I added '--inverse' to 'ECL.sh', an error occurred. 'ValueError: Found array with dim 3. None expected <= 2.'。 What should be done about it?
Traceback (most recent call last):
File "/mnt/sdb1/Timer/Large-Time-Series-Model-main/run.py", line 179, in
exp.test(setting)
File "/mnt/sdb1/Timer/Large-Time-Series-Model-main/exp/exp_forecast.py", line 252, in test
outputs = test_data.inverse_transform(outputs.squeeze(0)).reshape(shape)
File "/mnt/sdb1/Timer/Large-Time-Series-Model-main/data_provider/data_loader_benchmark.py", line 150, in inverse_transform
return self.scaler.inverse_transform(data)
File "/mnt/sdb1/miniconda3/envs/Timer/lib/python3.10/site-packages/sklearn/preprocessing/_data.py", line 1034, in inverse_transform
X = check_array(
File "/mnt/sdb1/miniconda3/envs/Timer/lib/python3.10/site-packages/sklearn/utils/validation.py", line 915, in check_array
raise ValueError(
ValueError: Found array with dim 3. None expected <= 2.

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

1 participant