elcronos / 3d-transferable

Code for paper "Transferable 3D Adversarial Textures using End-to-end Optimization" WACV 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions

  1. We can install the Python libraries needed by running in the command line:

    pip install -r requirements.txt
  2. Additionally, we used Pytorch3D v.0.4.0 and Pytorch. Follow the corresponding instruction to install the latest Pytorch3D version: https://github.com/facebookresearch/pytorch3d

  3. Download the weights for the Robust models executing:

     sudo bash download_weights.sh

    Note: This will download 5 weights for different robust models used in our experiments.

  4. You can run the code to generate the texturization models by running in the commandline:

    sudo python run_optimization.py

    Optionally: You can use Jupyter Notebooks to visualize the models created in run_optimization.ipynb or check directly in the outputs folder.

About

Code for paper "Transferable 3D Adversarial Textures using End-to-end Optimization" WACV 2022


Languages

Language:Jupyter Notebook 99.8%Language:Python 0.2%Language:Shell 0.0%