You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to make derivative works based on the Software, provided that any substantial changes to the Software are clearly distinguished from the original work and are distributed under a different name.
4
+
5
+
The original copyright notice and disclaimer must be retained in all copies or substantial portions of the Software.
6
+
7
+
THE SOFTWARE IS PROVIDED "AS IS," WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
An open-source Python library for adversarial attacks and defenses in deep learning models, enhancing the security and robustness of AI systems.
9
+
10
+
## Notice
11
+
12
+
DeepDefend has not yet been fully tested. Please report any issues you may encounter when using DeepDefend.
13
+
14
+
## Installation
15
+
16
+
You can install DeepDefend using pip:
17
+
18
+
```bash
19
+
pip install deepdefend
20
+
```
21
+
22
+
## Supported Python Versions
23
+
24
+
DeepDefend supports the following Python versions:
25
+
26
+
- Python 3.6
27
+
- Python 3.7
28
+
- Python 3.8
29
+
- Python 3.9
30
+
- Python 3.10
31
+
- Python 3.11
32
+
33
+
Please ensure that you have one of these Python versions installed before using DeepDefend. DeepDefend may not work as expected on lower versions of Python than the supported.
34
+
35
+
## Features
36
+
37
+
- Adversarial Attacks: Generate adversarial examples to evaluate model vulnerabilities.
38
+
- Adversarial Defenses: Employ various methods to protect models against adversarial attacks.
39
+
40
+
## Usage
41
+
42
+
### Adversarial Attacks
43
+
44
+
```python
45
+
import tensorflow as tf
46
+
from deepdefend.attacks import fgsm, pgd, bim
47
+
48
+
# Load a pre-trained TensorFlow model
49
+
model =...
50
+
51
+
# Load example input and label data (replace this with your own data loading code)
Contributions are welcome! If you encounter any issues, have suggestions, or want to contribute to DeepDefend, please open an issue or submit a pull request on [GitHub](https://github.com/infinitode/deepdefend).
87
+
88
+
## License
89
+
90
+
DeepDefend is released under the terms of the **MIT License (Modified)**. Please see the [LICENSE](https://github.com/infinitode/deepdefend/blob/main/LICENSE) file for the full text.
91
+
92
+
**Modified License Clause**
93
+
94
+
95
+
96
+
The modified license clause grants users the permission to make derivative works based on the DeepDefend software. However, it requires any substantial changes to the software to be clearly distinguished from the original work and distributed under a different name.
97
+
98
+
By enforcing this distinction, it aims to prevent direct publishing of the source code without changes while allowing users to create derivative works that incorporate the code but are not exactly the same.
99
+
100
+
Please read the full license terms in the [LICENSE](https://github.com/infinitode/deepdefend/blob/main/LICENSE) file for complete details.
description='An open-source Python library for adversarial attacks and defenses in deep learning models.',
9
+
long_description='An open-source Python library for adversarial attacks and defenses in deep learning models, enhancing the security and robustness of AI systems.',
0 commit comments