DDOS-ML-Detection icon indicating copy to clipboard operation
DDOS-ML-Detection copied to clipboard

File "ddos-detect.py", line 44, in scrape_data decoder = arff.ArffDecoder() AttributeError: module 'arff' has no attribute 'ArffDecoder'

Open Malhabib opened this issue 5 years ago • 5 comments
trafficstars

Hi, thanks for sharing this project, i faced this error, may you help please with it . File "ddos-detect.py", line 85, in scrape_data() File "ddos-detect.py", line 44, in scrape_data decoder = arff.ArffDecoder() AttributeError: module 'arff' has no attribute 'ArffDecoder'

Malhabib avatar Jul 11 '20 15:07 Malhabib

Ensure you have the proper arff decoder package installed. The proper package should be this one https://github.com/renatopp/liac-arff

On Sat, Jul 11, 2020 at 8:40 AM Malhabib [email protected] wrote:

Hi, thanks for sharing this project, i faced this error, may you help please with it . File "ddos-detect.py", line 85, in scrape_data() File "ddos-detect.py", line 44, in scrape_data decoder = arff.ArffDecoder() AttributeError: module 'arff' has no attribute 'ArffDecoder'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Jacobvs/DDOS-ML-Detection/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD46D6VIBNLOEKCM5LOPCZLR3CBXPANCNFSM4OXLLEDA .

Jacobvs avatar Jul 12 '20 03:07 Jacobvs

thanks for your reply , i solved this but when i tried to run it in anaconda i faced many errors :tensorflow has no attribute 'combat'.

regards

‫في الأحد، 12 يوليو 2020 في 6:05 ص تمت كتابة ما يلي بواسطة ‪Jacob van Steyn‬‏ <‪[email protected]‬‏>:‬

Ensure you have the proper arff decoder package installed. The proper package should be this one https://github.com/renatopp/liac-arff

On Sat, Jul 11, 2020 at 8:40 AM Malhabib [email protected] wrote:

Hi, thanks for sharing this project, i faced this error, may you help please with it . File "ddos-detect.py", line 85, in scrape_data() File "ddos-detect.py", line 44, in scrape_data decoder = arff.ArffDecoder() AttributeError: module 'arff' has no attribute 'ArffDecoder'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Jacobvs/DDOS-ML-Detection/issues/3, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AD46D6VIBNLOEKCM5LOPCZLR3CBXPANCNFSM4OXLLEDA

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Jacobvs/DDOS-ML-Detection/issues/3#issuecomment-657167498, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI5CZNCMU4BM7QOEYEEJT7LR3ESA5ANCNFSM4OXLLEDA .

Malhabib avatar Jul 12 '20 03:07 Malhabib

may you please advise which TensorFlow and Kresa versions this work is compatible with. I'm trying to reproduce the results but couldn't run it on Anaconda with TensorFlow 2.1

Malhabib avatar Jul 12 '20 14:07 Malhabib

Hi, I apologize for the late response. When I wrote this project 3 years ago I believe I was using Keras 2.2.4. You should be able to run ddos-detect.py to train & test the model. If you encounter further errors, please attach the traceback & the full error.

Jacobvs avatar Jul 17 '20 18:07 Jacobvs

Hi,

May you please advise about the dataset description?

Thanks

Malhabib avatar Aug 14 '20 13:08 Malhabib