visinf / irr

Iterative Residual Refinement for Joint Optical Flow and Occlusion Estimation (CVPR 2019)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to install the Correlation module?

shourovj opened this issue · comments

Hi @hurjunhwa , I am trying to test the MPWC-Net++ code by Impact laboratory. They referred to this repository.
I am working in kaggle notebook. I want to import the Correlation class from this repo in my notebook.
To do that i first cloned the repo by !git clone https://github.com/visinf/irr.git , then

%cd irr/models/correlation_package/
!pip install

to change install the package.
but i get a huge error :(
image

Now how do i install the package?
i tried this from .correlation_package.correlation import Correlation but it produces an error too

How do I import this directly from this repo in my kaggle notebook?
Looking for any help

Hi, can you try this?

cd ./models/correlation_package
python setup.py install

I haven't tried it in a kaggle notebook, so don't have clues how it will work there.