Skip to content

🤓🔥 Collection of PyTorch additions, extensions, utilities, uses and abuses

License

Notifications You must be signed in to change notification settings

emaballarin/ebtorch

Repository files navigation

🔥 ebtorch

Collection of PyTorch additions, extensions, utilities, uses and abuses.


Getting started

Due to the dependency of ebtorch on:

  • the latest (unpublished) upstream version of AdverTorch;
  • TorchAttacks, which in turn depends (probably too tightly) on requests~=2.25.1,

the recommended way of installing ebtorch, at the moment, is the following:

pip install --upgrade "ebtorch>=0.25.9" "git+https://github.com/BorealisAI/advertorch.git" "requests>=2.28"

Within Google Colab, it can be installed (together with all missing dependencies) with:

!pip install "fire>=0.6" "medmnist>=3" "torchattacks>=3.5.1" "git+https://github.com/BorealisAI/advertorch.git" "ebtorch>=0.25.9" --no-deps