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

为什么短期预测的代码跑不了,会报错 #623

Open
zhurong-dot opened this issue Dec 17, 2024 · 0 comments
Open

为什么短期预测的代码跑不了,会报错 #623

zhurong-dot opened this issue Dec 17, 2024 · 0 comments

Comments

@zhurong-dot
Copy link

Traceback (most recent call last):
File "run.py", line 191, in
exp.train(setting)
File "C:\Users\ZRCC\Desktop\wenxian\123\Time-Series-Library-main\exp\exp_short_term_forecasting.py", line 54, in train
train_data, train_loader = self._get_data(flag='train')
File "C:\Users\ZRCC\Desktop\wenxian\123\Time-Series-Library-main\exp\exp_short_term_forecasting.py", line 36, in _get_data
data_set, data_loader = data_provider(self.args, flag)
File "C:\Users\ZRCC\Desktop\wenxian\123\Time-Series-Library-main\data_provider\data_factory.py", line 67, in data_provider
data_set = Data(
File "C:\Users\ZRCC\Desktop\wenxian\123\Time-Series-Library-main\data_provider\data_loader.py", line 333, in init
self.read_data()
File "C:\Users\ZRCC\Desktop\wenxian\123\Time-Series-Library-main\data_provider\data_loader.py", line 341, in read_data
training_values = np.array(
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (414,) + inhomogeneous part.

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