hukkelas / DSFD-Pytorch-Inference

A High-Performance Pytorch Implementation of face detection models, including RetinaFace and DSFD
Apache License 2.0
218 stars 58 forks source link

Install with Pip not working anymore #30

Closed johko closed 1 year ago

johko commented 1 year ago

Hi, since your latest commit and the removal of torch from the setup.py I get an error message when trying to run pip install git+https://github.com/hukkelas/DSFD-Pytorch-Inference.git which says that it cannot find torch: ModuleNotFoundError: No module named 'torch'

What is the intention behind removing it from the setup.py?

hukkelas commented 1 year ago

Having torch in the requirements would trigger reinstall of torch for some environments, often installing cpu binaries even though cuda environment is available.

Check out the pytorch website for installating pytorch: https://pytorch.org/get-started/locally/