ASD
[CVPR 2023] Backdoor Defense via Adaptively Splitting Poisoned Dataset
File Explorer
Download Latest Version (.zip)- pipeline_cvpr.png
- baseline_asd.yaml
- cifar_1.png
- backdoor.py
- cifar.py
- dataset.py
- prefetch.py
- utils.py
- resnet_cifar.py
- loss.py
- model.py
- utils.py
- README.md
- README.md
- log.py
- semi.py
- utils.py
- setup.py
- ASD.py
- README.md
- requirements.txt
- test.py
# Installation Guide
1. Get the code
git clone https://github.com/KuofengGao/ASD
Downloads the entire project code from GitHub to your computer.
cd ASD
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
Installs the package published on PyPI directly β no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio==0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
Installs the package published on PyPI directly β no need to clone the source.
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
