hukkelas / deep_privacy2

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

Installation on Windows #10

Closed markusschmitz53 closed 1 year ago

markusschmitz53 commented 1 year ago

I ran into a problem trying to install deep_privacy2 on Windows. Seems like detectron can't be installed on Windows without changes to the package: https://github.com/facebookresearch/detectron2/issues/1601 Windows is not officially supported by detectron.

Maybe a hint regarding supported OS in the guide https://www.hukkelas.no/deep_privacy2/#/README would be helpful to other users?

hukkelas commented 1 year ago

I've added a hint in the readme with this commit.

The DeepPrivacy2 code should work fine with windows if you're able to install detectron2.

slslazy commented 1 year ago

I've added a hint in the readme with this commit.

The DeepPrivacy2 code should work fine with windows if you're able to install detectron2.

Can confirm. Detectron2 doesn't play nice with Windows but works just fine in WSL Ubuntu 22 if you clone the repository and install [https://github.com/facebookresearch/detectron2/tree/main/projects/DensePose].

Docker was faster and easier just to try it out in Windows though.

hukkelas commented 1 year ago

Closing this issue for now. Reopen if you have further issues.