Skip to main content

A PyTorch library for adversarial attacks, inspired by torchattacks.

Project description

AdvTorchAttacks

AdvTorchAttacks is a PyTorch-based library for generating adversarial attacks on deep learning models. It provides implementations of widely used attack methods, enabling user to evaluate model robustness against adversarial perturbations.

Features

  • Implements FGSM, PGD, CW, MIFGSM, and AutoAttack adversarial attack methods.
  • Works with PyTorch models.
  • Returns adversarial images, perturbations images.

Installation

You can install advtorchattacks in two ways:

1️ Install from PYPI

pip install advtorchattacks

2 Install from GitHub

https://github.com/santhosh1705kumar/advtorchattacks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

advtorchattacks-2.1.1.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

advtorchattacks-2.1.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file advtorchattacks-2.1.1.tar.gz.

File metadata

  • Download URL: advtorchattacks-2.1.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for advtorchattacks-2.1.1.tar.gz
Algorithm Hash digest
SHA256 79a592fb8bf13737c632597757011fa65baf343a32cc68d49584f528aae72789
MD5 a2a51cf3e5afbd57f6000ed14e762e2b
BLAKE2b-256 9b0e05cad6632def1084ea5cffa078b3d01e3d5b618bc020477019c29b0bf129

See more details on using hashes here.

File details

Details for the file advtorchattacks-2.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for advtorchattacks-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6947fc79519347bb6f79e5d228767854712ef468e5d3e3d8c8f8c0a35d46a8f0
MD5 78ccd896e99accab1030f1839dea08f0
BLAKE2b-256 df7e10946dbb3fc59e0b5bb8389f5fb1e82b3be210cefc003c3048704801ffec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page