PLELog icon indicating copy to clipboard operation
PLELog copied to clipboard

Error loading HDFS dataset.

Open JinYang88 opened this issue 2 years ago • 2 comments

Thanks for your great work.

As HDFS labels are initially strings, is this a typo in the following line? token[1] are strings, which cannot be converted to int.

https://github.com/YangLin-George/PLELog/blob/fd35d79c9bd38b2d087e2241d5a942113013640a/preprocessing/dataloader/HDFSLoader.py#L199

JinYang88 avatar Apr 29 '22 08:04 JinYang88

Thanks for asking.

The label.txt file was generated from the original anomalous_label.csv file from loghub, which 0 means a normal block and 1 otherwise.

Here is the label.txt file we used. label.txt

LeonYang95 avatar Apr 29 '22 09:04 LeonYang95

Thanks for your clarification!

JinYang88 avatar Apr 29 '22 09:04 JinYang88