CANET This is the code of paper “CANET: A Hierarchical CNN-Attention Model for Network Intrusion Detection” published in "Computer Communications" Environment python >= 3.7.11 tensorflow-gpu >= 2.4.0 keras >= 2.4.3