Lydorn / Polygonization-by-Frame-Field-Learning

This repository contains the code for our fast polygonal building extraction from overhead images pipeline.
BSD 3-Clause "New" or "Revised" License
294 stars 70 forks source link

Kornia and PyTorch dependency issue in Ubuntu #39

Open demiahmed opened 1 year ago

demiahmed commented 1 year ago

Hi I tried installing the necessary dependencies using environment.yml and it throws me the error discussed here (https://github.com/kornia/kornia/discussions/1290)

I tried applying the fix which was to install Kornia from source using the command pip install git+https://github.com/kornia/kornia

However it ended up installing torch==1.9.1 as a dependency (environment.yml in this repo has a torch==1.4) and breaks the entire dependency tree.

Is there a fix to get the most recent version of Kornia that's compatible with this code and with torch==1.4.0 or any possible workarounds?