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-1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

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

advtorchattacks-1.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for advtorchattacks-1.0.tar.gz
Algorithm Hash digest
SHA256 8f01556715ba1b8a080cd87ed98ef19a00b8d166527d81293712bec69d802a19
MD5 d4eb2cd6afb7fad0771934f37f5f41cc
BLAKE2b-256 87e9d45dbc79b69f1ecf37222c3945945c52612090d6cfdaab1c6659f88cbb1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: advtorchattacks-1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for advtorchattacks-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cb497a434ece6896df0ccd3f5cc2e9d4ebabe8539e88c0fe1feca946b8128c1
MD5 b306c6568ae2ec981ed2155b407fe39f
BLAKE2b-256 8ba333ab67afd3490a65d2c370c9c3785f0329e342b517bd73684100c77814b2

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