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

RuntimeError: the derivative for 'linalg_lstsq' is not implemented. #4

Open
w2obin opened this issue Dec 26, 2024 · 0 comments
Open

Comments

@w2obin
Copy link

w2obin commented Dec 26, 2024

Thanks for your awsome work!
When I reproduced your code, I occured this error. Could you please give me some suggestions?
Thanks.

start training : long_term_forecast_ETTm1_96_96_VCformer_ETTm1_ftM_sl96_ll48_pl96_dm512_nh8_el2_dl1_df1024_fc3_ebtimeF_dtTrue_Exp_0>>>>>>>>>>>>>>>>>>>>>>>>>>
train 34369
val 11425
test 11425
Traceback (most recent call last):
File "run.py", line 177, in
exp.train(setting)
File "/home/www/long-term-baselines/VCformer-main/exp/exp_long_term_forecasting.py", line 180, in train
loss.backward()
File "/home/www/anaconda3/lib/python3.8/site-packages/torch/_tensor.py", line 255, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
File "/home/www/anaconda3/lib/python3.8/site-packages/torch/autograd/init.py", line 147, in backward
Variable._execution_engine.run_backward(
RuntimeError: the derivative for 'linalg_lstsq' is not implemented.

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