Skip to content

PyTorch implementation of the code for the 'Sparse Adversarial Perturbations for Videos' paper.

Notifications You must be signed in to change notification settings

thakurnupur/Sparse-Adversarial-Perturbations-PyTorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sparse-Adversarial-Perturbations-PyTorch

This is the PyTorch implementation of the paper 'Sparse Adversarial Perturbations for Videos'. The official Tensorflow code is used as reference for writing this implementation.

This code requires Python3 and requirements.txt contains all its other dependencies. Run the following command to install all these requirements:

pip install -r requirements.txt

To run the code, use the following command:

python l21_optimization.py --input_dir data/UCF-101-frames --split_path data/ucfTrainTestlist --checkpoint_model ConvLSTM_150.pth

Please refer to the following link for the code for the processing of UCF-101 dataset and its target network: https://github.com/eriklindernoren/Action-Recognition

You can find the checkpoint model for CNN+LSTM model on this link too.

About

PyTorch implementation of the code for the 'Sparse Adversarial Perturbations for Videos' paper.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages