LogIntelligence / LogADEmpirical

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

ValueError while running LogAnomaly #5

Open mannnnntheng opened 2 years ago

mannnnntheng commented 2 years ago

Hi, I was trying to run loganomaly model, in the cmd line I simply change the model option to 'loganomaly'. It shows this error:

File "/home/LogADEmpirical/logadempirical/logdeep/dataset/vocab.py", line 46, in find_similar
    if sim > 0.90:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Could you please help with this?

vanhoanglepsa commented 2 years ago

Sorry for this problem. I must have made a mistake when commit the code. I plan to refactor the code and give a detail instruction to use it in the next week. By that time, this error will be fixed.

Thanks