Open YuyangQian opened 2 days ago
Thank you for your attention to our work.
Regarding your question, if I understood correctly, it seems that an error occurs during the final testing after fine-tuning:
preds = preds.reshape(-1, preds.shape[-2], preds.shape[-1])
IndexError: tuple index out of range
When I tested it locally, the output at this point looked like this, which you might find helpful as a reference:
You could check if any part of the code was modified. If you haven’t made any changes, you can print out the shape of preds
and examine the details to pinpoint where the issue might be.
I changed the code in exp_timedart.py, line: 362
preds.append(pred) -> preds.append(pred.numpy()) trues.append(true) -> trues.append(true.numpy())
And it works. Thanks for your reply!
Hi, this model is a great work, but i met a problem. I followed the instructions in readme, and here is what ocurred when executing sh scripts/finetune/ETTh2.sh
Should I change the parameter --features M to --features MS