GestaltCogTeam/BasicTS

TODOs & HOWTOs

zezhishao opened this issue · 7 comments

ToDos

  • Add AMP.
  • Add more visualization.
  • Support hyperparameter search.
  • Add PeMSD7(M) and PeMSD7(L).
  • Support lr scheduler ReduceLROnPlateau. (see #120 )

Done

  • Fix issue #90 .
  • Unify the data preprocssing script.
  • How to add new datasets.
  • How to config the config file.
  • How to inference and save the inference results.
  • How to customize loss function.
  • Add DeepAR
  • Add LightGBM
  • Add NHiTS
  • Add GRU
  • Add STGODE
  • Add SCINet
  • Add STSGCN❌, STFGCN❌ (They are built on MXNet)
  • Add TimesNet
  • Add early stopping.
  • Add M4 dataset

您好,感谢您提供的框架。关于交通预测问题,或许您可以考虑添加上PEMS07(M)和PEMS07(L)这两个数据集?

您好,感谢您提供的框架。关于交通预测问题,或许您可以考虑添加上PEMS07(M)和PEMS07(L)这两个数据集?

Of course, could you provide me the source of these two datasets? E.g., links or papers.

您好,感谢您提供的框架。关于交通预测问题,或许您可以考虑添加上PEMS07(M)和PEMS07(L)这两个数据集?

Of course, could you provide me the source of these two datasets? E.g., links or papers.

STGCN的库里包含了这两个速度数据集: https://github.com/VeritasYin/STGCN_IJCAI-18

@all-contributors
please add @zezhishao for maintenance,infra,code,bug.
please add @LMissher for code,bug.
please add @cnstark for infra.
please add @Azusa-Yuan for bug.
please add @ywoelker for bug.
please add @hlhang9527 for bug.

How to set AMP?

How to set AMP?

Currently, BasicTS does not support AMP because these baselines don’t have many parameters.
However, I have also recently tested AMP in BasicTS to facilitate training and inference of large time series models. AMP will be added in the future (probably next version).

If you are want to use AMP, you need to init torch.amp.autocast and torch.cuda.amp.GradScaler in the __init__ function of the runner, and then modify the train_iters, val_iters, test, and backward function.

It seems that STD-MAE [2024-LJCAI] have mentioned this library. Maybe it time to put that into this repo?