Open anywayxubin opened 2 years ago
改成python -u main.py --model 'tcn' --dataset 'ETTh1' --data "ETTh1" --input_parmas x,默认输入有四个,需要手动改一下。另外,args.importance参数是为了和计算特征重要性的包匹配设置的,没啥用,后续会统一一下这个参数。
发件人: anywayxubin @. 发送时间: 2022年5月16日 16:44 收件人: hyliush/deep-time-series @.> 抄送: Subscribed @.***> 主题: [hyliush/deep-time-series] lstm模型训练 (Issue #2)
怎么使用tcn,lstm来训练模型 !python -u main.py --model 'tcn' --dataset 'ETTh1' --data "ETTh1" 报错:TypeError: forward() takes 2 positional arguments but 5 were given 能告诉我下吗
— Reply to this email directly, view it on GitHubhttps://github.com/hyliush/deep-time-series/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALXIFUSRM3B3QOK5LHPXXS3VKIDFNANCNFSM5WAW44CA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>
还是不懂怎么改,希望作者大大讲的再详细一点
我把输入参数改成这样了,不知道对不对,请作者大大指正
检查arg里的input params参数,lstm只需要x一个参数
在 2023年4月8日,20:36,Shenxiyao12 @.***> 写道:
还是不懂怎么改,希望作者大大讲的再详细一点
— Reply to this email directly, view it on GitHubhttps://github.com/hyliush/deep-time-series/issues/2#issuecomment-1500883280, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALXIFURUOUJAKENFVIP2I3LXAFLVTANCNFSM5WAW44CA. You are receiving this because you commented.Message ID: @.***>
怎么使用tcn,lstm来训练模型 !python -u main.py --model 'tcn' --dataset 'ETTh1' --data "ETTh1" 报错:TypeError: forward() takes 2 positional arguments but 5 were given 能告诉我下吗