Open
Description
报错信息:
File "/Time-Series-Library/exp/exp_short_term_forecasting.py", line 108, in train/venv/lib/python3.9/site-packages/torch/_tensor.py", line 581, in backward
loss.backward()
File "
torch.autograd.backward(
File "/venv/lib/python3.9/site-packages/torch/autograd/init.py", line 347, in backward/venv/lib/python3.9/site-packages/torch/autograd/graph.py", line 825, in _engine_run_backward
_engine_run_backward(
File "
return Variable._execution_engine.run_backward( # Calls into the C++ engine to run the backward pass
RuntimeError: view size is not compatible with input tensor's size and stride (at least one dimension spans across two contiguous subspaces). Use .reshape(...) instead.
Metadata
Metadata
Assignees
Labels
No labels