Open anirudh1626 opened 2 months ago
UPDATE
Earlier I was trying to use the demo_IAT.dat and OCSVM-results.dat models which were committed in the github 0.7.1 netml release, but they were 4 years old model. I created my own mode using the below command
netml learn --pcap=1stPhase-0-0.pcap --output=ac.dat
After creating my own model named "ac.dat", I tried re-executing the command and got the below error,
netml classify --model=ac.dat -p 1stPhase-0-5.pcap pcap_file: <_io.BufferedReader name='1stPhase-0-5.pcap'> [TypeError] 'EDecimal' object cannot be interpreted as an integer
Hi Team,
I am using the latest 0.7.1 version of netml and facing issue in execution of netml classify command
"netml classify --model=/root/noise-lab/netml/examples/out/data/demo_IAT.dat -p /root/noise-lab/netml/examples/data/srcIP_10.42.0.1/srcIP_10.42.0.119_anomaly.pcap" pcap_file: <_io.BufferedReader name='/root/noise-lab/netml/examples/data/srcIP_10.42.0.1/srcIP_10.42.0.119_anomaly.pcap'> [AttributeError] 'numpy.ndarray' object has no attribute 'predict'
Can someone please help