princeton-vl / RAFT

BSD 3-Clause "New" or "Revised" License
3.12k stars 621 forks source link

Specifying working python and opencv version #133

Open gregordecristoforo opened 2 years ago

gregordecristoforo commented 2 years ago

Would it be possible to specify one working python and opencv version in the README.md?

In python=3.10 the line python demo.py --model=models/raft-things.pth --path=demo-frames gives an error. Downgrading to python=3.6.13 resolves this issue.

Similarly, I had to manually specify opencv version to conda install -c conda-forge opencv=4.1.0 in order to run the demo.py script.

I believe it would be very helpful if at least one functioning version of all required packages would be provided in the README.md file.