tsingqguo / jadena

Official implementation of "Can You Spot the Chameleon? Adversarially Camouflaging Images from Co-Salient Object Detection" in CVPR 2022.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jadena

Official implementation of "Can You Spot the Chameleon? Adversarially Camouflaging Images from Co-Salient Object Detection" in CVPR 2022. arXiv

Usage

  1. Clone this repo.
  2. Create and activate a virtual environment with Python >= 3.9 (or you need to do some workarounds when having a lower Python version).
  3. Install the dependencies via the command "pip install -r requirements.txt" or any other way you prefer. You should pay attention to the installation of torch due to the difference between cpu and gpu.
  4. Run the script example.py. It will perturb the image example_images/turtles/turtle_1.png and save the result perturbed images in the same folder.

About

Official implementation of "Can You Spot the Chameleon? Adversarially Camouflaging Images from Co-Salient Object Detection" in CVPR 2022.

License:MIT License


Languages

Language:Python 100.0%