AutoTimes icon indicating copy to clipboard operation
AutoTimes copied to clipboard

Encountering Error When Running AutoTimes_M4.sh

Open shisi-cc opened this issue 10 months ago • 0 comments

When I run sh scripts/time_series_forecasting/short_term/AutoTimes_M4.sh, I encounter the following error. How can I resolve this?

Traceback (most recent call last): File "/data/work/TimeLLM/AutoTimes/run.py", line 124, in exp.train(setting) File "/data/work/TimeLLM/AutoTimes/exp/exp_short_term_forecasting.py", line 60, in train train_data, train_loader = self._get_data(flag='train') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/work/TimeLLM/AutoTimes/exp/exp_short_term_forecasting.py", line 34, in _get_data data_set, data_loader = data_provider(self.args, flag) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/data/work/TimeLLM/AutoTimes/data_provider/data_factory.py", line 32, in data_provider data_set = Data( ^^^^^ File "/data/work/TimeLLM/AutoTimes/data_provider/data_loader.py", line 247, in init self.read_data() File "/data/work/TimeLLM/AutoTimes/data_provider/data_loader.py", line 255, 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.

shisi-cc avatar Apr 28 '24 08:04 shisi-cc