amanchadha / iSeeBetter

iSeeBetter: Spatio-Temporal Video Super Resolution using Recurrent-Generative Back-Projection Networks | Python3 | PyTorch | GANs | CNNs | ResNets | RNNs | Published in Springer Journal of Computational Visual Media, September 2020, Tsinghua University Press
https://arxiv.org/abs/2006.11161
MIT License
363 stars 68 forks source link

module 'pyflow' has no attribute 'coarse2fine_flow' #23

Closed thijsheijden closed 3 years ago

thijsheijden commented 3 years ago

Hey there! I keep getting the following error: module 'pyflow' has no attribute 'coarse2fine_flow' when trying to run python3.7 iSeeBetterTest.py

I am using python 3.7.9 with all the corresponding packages. My torch install however is version 1.7.1 as the version in requirements.txt does not seem to exist? Anyone that can help me?

harem-token commented 3 years ago

Did you try building pyflow from scratch?

thijsheijden commented 3 years ago

Yes, it built successfully and the demo worked. Got the same error. Maybe I should try cloning the latest pyflow version and see if that will work.

thijsheijden commented 3 years ago

Okay, after rebuilding pyflow I still get the same error. Here are the pip installs I am using, perhaps this is due to a wrong version in one of the installs?

bycloudai commented 3 years ago

hi @thijsheijden would you mind sharing how you have solved the AttributeError: module 'pyflow' has no attribute 'coarse2fine_flow' error? Thank you!

thijsheijden commented 3 years ago

hey @cloudweather , if I recall correctly, after building pyflow I had to drag one of the files from the pyflow directory into the main directory (where all the iSeeBetter python files are), im not quite sure which file that was, perhaps the .pyx file or the .so files?

mitchvolpi commented 3 years ago

@thijsheijden @bycloudai After building pyflow as instructed in the README.md, you should be able to import pyflow from anywhere in your local environment after you pip install it, e.g. pip install ./pyflow