ffcv icon indicating copy to clipboard operation
ffcv copied to clipboard

Opencv and pytorch version issue

Open MikkelAntonsen opened this issue 2 years ago • 1 comments

Hey, I've been eager to try ffcv for some time now and now that I have started I have an issue with dependencies. I have pytorch pinned to 1.10 because of an other dependency I have. Installing conda-forge's opencv leads to a conflict which can be resolved by upgrading to pytorch 1.12. Do you have a suggestion for how to proceed other than writing myself out of the other dependency? It seems like not needing to have the newest pytorch would make it easier for more people to adopt the framework.

MikkelAntonsen avatar Sep 26 '22 10:09 MikkelAntonsen

In case this is still of use, issues I've had that were caused by PyTorch and OpenCV versions have been fixed by using the headless version: https://anaconda.org/fastai/opencv-python-headless

tavisshore avatar Jan 27 '23 11:01 tavisshore