LogADEmpirical icon indicating copy to clipboard operation
LogADEmpirical copied to clipboard

ValueError while running LogAnomaly

Open mannnnntheng opened this issue 3 years ago • 1 comments

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?

mannnnntheng avatar May 08 '22 07:05 mannnnntheng

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

vanhoanglepsa avatar May 16 '22 03:05 vanhoanglepsa