hukkelas / deep_privacy2

DeepPrivacy2 - A Toolbox for Realistic Image Anonymization
Apache License 2.0
292 stars 33 forks source link

requirements.txt #5

Closed FHellmann closed 1 year ago

FHellmann commented 1 year ago

It would be great if you can provide the requirements.txt you used to install all the required packages. Thank you!

hukkelas commented 1 year ago

The required packages to install are listed in the setup.py file. You can install all required packages without setup.py with the following:

pip install git+https://github.com/facebookresearch/detectron2@96c752ce821a3340e27edd51c28a00665dd32a30#subdirectory=projects/DensePose
pip install \
    numpy>=1.20 \
    matplotlib \
    cython \
    tensorboard \
    tqdm \
    ninja==1.10.2 \
    opencv-python==4.5.5.64 \
    moviepy \
    pyspng \
    git+https://github.com/hukkelas/DSFD-Pytorch-Inference \
    wandb \ 
    termcolor \
    git+https://github.com/hukkelas/torch_ops.git \
    git+https://github.com/wmuron/motpy@c77f85d27e371c0a298e9a88ca99292d9b9cbe6b \
    fast_pytorch_kmeans \
    einops_exts  \ 
    einops \ 
    regex \
    setuptools==59.5.0 \
    resize_right==0.0.2 \
    pillow \
    scipy==1.7.1 \
    webdataset==0.2.26 \
     scikit-image \
  git+https://github.com/facebookresearch/detectron2@96c752ce821a3340e27edd51c28a00665dd32a30#subdirectory=projects/DensePose
pip install --no-deps torch_fidelity==0.3.0

A dockerfile is also provided here: https://github.com/hukkelas/deep_privacy2/issues/1

Let me know if you have any issues with the install!