Torchvision errors

Hi there. I have a problem when running a linux bash python script.First i get “did you have libjpeg or libpng installed before building torchvision from source” as error and i saw that i need to have torch and torchvision same dependecies.If i install same dependecies and solve the problem then i get “operator torchvision::nms does not exist”. Can someone help me? Thanks in advance!

Which torch and torchvision versions are you using and how did you install them?

Hello, I have also encountered the same issue. My Torch version is 2.2.2, and my torchvision version is 0.18. I would greatly appreciate it if you could answer my question.

I had the same issue, turns out I had installed the CPU only binaries when I was trying to run on the GPU.

I have torch version 2.2.0 installed by “conda install pytorch”