libffcv / ffcv

FFCV: Fast Forward Computer Vision (and other ML workloads!)
https://ffcv.io
Apache License 2.0
2.8k stars 180 forks source link

Opencv and pytorch version issue #258

Open MikkelAntonsen opened 1 year ago

MikkelAntonsen commented 1 year ago

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.

tavisshore commented 1 year ago

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