d-ailin / GDN

Implementation code for the paper "Graph Neural Network-Based Anomaly Detection in Multivariate Time Series" (AAAI 2021)
MIT License
490 stars 142 forks source link

OSError #56

Open yexianyao opened 2 years ago

yexianyao commented 2 years ago

Thank you for the open source code. I use the same configuration as the "readme.md". But I use the Windows 11 operating system, which is not easy to execute .sh files. So after I set the default value , I directly input “python main.py” to execute. The following error occurs: image

And is there a better way to execute .sh files in Windows operating system? Thank you very much.

LiPYlpy commented 2 years ago

You can replace the ':' in datestr by other marks. Like datestr.replace(':',''). Or just use: self.datestr = now.strftime('%m%d-%H%M%S') (in main.py) See https://github.com/pytorch/examples/issues/865 for details.

yexianyao commented 2 years ago

Thanks for this comment, it solves my question