LogIntelligence / LogADEmpirical

Log-based Anomaly Detection with Deep Learning: How Far Are We? (ICSE 2022, Technical Track)
MIT License
167 stars 40 forks source link

Deeplog input is empty #19

Open fatemehadadi opened 1 year ago

fatemehadadi commented 1 year ago

In logadempirical/logdeep/dataset/sample.py line 161, the value of sequential_pattern is set to empty list:

sequential_pattern = []

which is the main input of deeplog model. It caused an error during running deeplog saying the input is empty.

However, according to logdeep rep, this feature is supposed to be initialized as: sequential_pattern = line[i:i + window_size]

Please update the code.

Byw111 commented 10 months ago

我在按您的评论修改后又报错,请问您是怎么处理的呢?image