Catalog PyPI
Back to packageRELEASE DETAILS

2.1.1

PyPI

advtorchattacks

A PyTorch library for adversarial attacks, inspired by torchattacks.

Published4 Mar 2025
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 2.1.1 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
torch
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.7",
  "evaluation": "NOT_EVALUATED"
}
torch>=1.8.0runtime
torchvision
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.7",
  "evaluation": "NOT_EVALUATED"
}
torchvisionruntime
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.7",
  "evaluation": "NOT_EVALUATED"
}
numpyruntime
scipy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.7",
  "evaluation": "NOT_EVALUATED"
}
scipyruntime

Distribution files

2 collected
advtorchattacks-2.1.1-py3-none-any.whl

bdist_wheel · 9.44 KB · Python py3

Source file
advtorchattacks-2.1.1.tar.gz

sdist · 7.01 KB · Python source

Source file

Repository

PENDING
santhos1705kumar/advtorchattacks

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:06 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:99b15fdf23de45366543eb7cc3512773e042dec161372fee64cdf17566ab94ce

Other collected versions

View all collected versions →