GithubHelp home page GithubHelp logo

fl-unsup-nids's People

Contributors

gubertoli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

fl-unsup-nids's Issues

client error

Thank you for your contribution. Your paper has greatly benefited me. When I tried to visualize your experiment, I was running it/ Run_ There is a problem with ./sampled.sh. Can you help me solve it? The error is as follows:~/fl-unsup-nids$ ./run_sampled.sh
Starting Federated Learning server using Flower
2024-01-20 15:56:56.049635: E tensorflow/stream_executor/cuda/cuda_driver.cc:271] failed call to cuInit: CUDA_ERROR_NO_DEVICE: no CUDA-capable device is detected
2024-01-20 15:56:56.049659: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (zhuyuedi): /proc/driver/nvidia/version does not exist
2024-01-20 15:56:56.049860: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
INFO flower 2024-01-20 15:56:56,093 | app.py:134 | Flower server running (10 rounds), SSL is disabled
INFO flower 2024-01-20 15:56:56,093 | server.py:84 | Initializing global parameters
INFO flower 2024-01-20 15:56:56,093 | server.py:252 | Using initial parameters provided by strategy
INFO flower 2024-01-20 15:56:56,093 | server.py:86 | Evaluating initial parameters
INFO flower 2024-01-20 15:56:56,093 | server.py:99 | FL starting
Starting client with silo ./sampled_datasets/botiot_sampled.csv.gz
Starting client with silo ./sampled_datasets/cicids_sampled.csv.gz
Starting client with silo ./sampled_datasets/nb15_sampled.csv.gz
Starting client with silo ./sampled_datasets/toniot_sampled.csv.gz

botiot_sampled - Total samples: 1000000, Benign: 3569, Malicious: 996431, Labels: ['Benign', 'DDoS', 'DoS', 'Reconnaissance', 'Theft']
toniot_sampled - Total samples: 1000000, Benign: 359618, Malicious: 640382, Labels: ['Backdoor', 'Benign', 'DDoS', 'DoS', 'injection', 'mitm', 'password', 'ransomware', 'scanning', 'xss']
nb15_sampled - Total samples: 1000000, Benign: 960078, Malicious: 39922, Labels: ['Analysis', 'Backdoor', 'Benign', 'DoS', 'Exploits', 'Fuzzers', 'Generic', 'Reconnaissance', 'Shellcode', 'Worms']
cicids_sampled - Total samples: 1000000, Benign: 880623, Malicious: 119377, Labels: ['Benign', 'Bot', 'Brute Force', 'DDoS', 'DoS', 'Infilteration', 'injection']
/home/zhuyuedi/fl-unsup-nids/venv/lib/python3.10/site-packages/sklearn/preprocessing/_discretization.py:209: FutureWarning: In version 1.3 onwards, subsample=2e5 will be used by default. Set subsample explicitly to silence this warning in the mean time. Set subsample=None to disable subsampling explicitly.
warnings.warn(
/home/zhuyuedi/fl-unsup-nids/venv/lib/python3.10/site-packages/sklearn/preprocessing/_discretization.py:209: FutureWarning: In version 1.3 onwards, subsample=2e5 will be used by default. Set subsample explicitly to silence this warning in the mean time. Set subsample=None to disable subsampling explicitly.
warnings.warn(
/home/zhuyuedi/fl-unsup-nids/venv/lib/python3.10/site-packages/sklearn/preprocessing/_discretization.py:209: FutureWarning: In version 1.3 onwards, subsample=2e5 will be used by default. Set subsample explicitly to silence this warning in the mean time. Set subsample=None to disable subsampling explicitly.
warnings.warn(
/home/zhuyuedi/fl-unsup-nids/venv/lib/python3.10/site-packages/sklearn/preprocessing/_discretization.py:209: FutureWarning: In version 1.3 onwards, subsample=2e5 will be used by default. Set subsample explicitly to silence this warning in the mean time. Set subsample=None to disable subsampling explicitly.
warnings.warn(
INFO flower 2024-01-20 15:57:25,317 | connection.py:102 | Opened insecure gRPC connection (no certificates were passed)
DEBUG flower 2024-01-20 15:57:25,318 | connection.py:39 | ChannelConnectivity.IDLE
DEBUG flower 2024-01-20 15:57:25,318 | connection.py:39 | ChannelConnectivity.CONNECTING
DEBUG flower 2024-01-20 15:57:25,319 | connection.py:39 | ChannelConnectivity.READY
INFO flower 2024-01-20 15:57:46,139 | connection.py:102 | Opened insecure gRPC connection (no certificates were passed)
DEBUG flower 2024-01-20 15:57:46,139 | connection.py:39 | ChannelConnectivity.IDLE
DEBUG flower 2024-01-20 15:57:46,140 | connection.py:39 | ChannelConnectivity.CONNECTING
DEBUG flower 2024-01-20 15:57:46,140 | connection.py:39 | ChannelConnectivity.READY
INFO flower 2024-01-20 15:58:50,851 | connection.py:102 | Opened insecure gRPC connection (no certificates were passed)
DEBUG flower 2024-01-20 15:58:50,852 | connection.py:39 | ChannelConnectivity.IDLE
DEBUG flower 2024-01-20 15:58:50,852 | connection.py:39 | ChannelConnectivity.CONNECTING
DEBUG flower 2024-01-20 15:58:50,853 | connection.py:39 | ChannelConnectivity.READY
INFO flower 2024-01-20 15:59:09,356 | connection.py:102 | Opened insecure gRPC connection (no certificates were passed)
DEBUG flower 2024-01-20 15:59:09,357 | connection.py:39 | ChannelConnectivity.IDLE
DEBUG flower 2024-01-20 15:59:09,357 | connection.py:39 | ChannelConnectivity.CONNECTING
DEBUG flower 2024-01-20 15:59:09,357 | connection.py:39 | ChannelConnectivity.READY

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.