facenet-pytorch icon indicating copy to clipboard operation
facenet-pytorch copied to clipboard

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

Open sunilmathew-mcw opened this issue 1 year ago • 5 comments

Is it possible to support torch 2.3.1? Thanks

sunilmathew-mcw avatar Jul 11 '24 16:07 sunilmathew-mcw

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.

MMaximuss avatar Aug 03 '24 02:08 MMaximuss

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.

gsaluja9 avatar Aug 29 '24 16:08 gsaluja9

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.

snowbedding avatar Sep 13 '24 07:09 snowbedding

how to solve this problem? upgrade the version of torch? my cuda is 11.6,should i get cuda at least 11.8 to install torch>=2.2.0?

ofdengdeng avatar Dec 26 '24 02:12 ofdengdeng

Running into this limitation as well, it would be great to use a more modern version of both pytorch and pillow

jeffheaton avatar Feb 06 '25 13:02 jeffheaton