timesler / facenet-pytorch

Pretrained Pytorch face detection (MTCNN) and facial recognition (InceptionResnet) models
MIT License
4.54k stars 951 forks source link

facenet-pytorch 2.6.0 requires torch<2.3.0,>=2.2.0, but you have torch 2.3.1 which is incompatible. #231

Open sunilmathew-mcw opened 3 months ago

sunilmathew-mcw commented 3 months ago

Is it possible to support torch 2.3.1? Thanks

MMaximuss commented 3 months ago

Is it possible to support torch 2.3.1? Thanks

That would be great. Now it is not usable in combination with models that need torch > 2.3.0.

gsaluja9 commented 2 months ago

Hello. I tried running the tests with a version which increases the dependent pytorch version. Here's a PR

I was able to tests locally with the changes.

pandayummy commented 1 month ago

facenet-pytorch 2.6.0 has requirement Pillow<10.3.0,>=10.2.0, but you have pillow 10.3.0. facenet-pytorch 2.6.0 has requirement torch<2.3.0,>=2.2.0, but you have torch 2.4.0+cu124. facenet-pytorch 2.6.0 has requirement torchvision<0.18.0,>=0.17.0, but you have torchvision 0.19.0+cu124.