hkchengrex / Mask-Propagation

[CVPR 2021] MiVOS - Mask Propagation module. Reproduced STM (and better) with training code :star2:. Semi-supervised video object segmentation evaluation.
https://hkchengrex.github.io/MiVOS/
MIT License
127 stars 22 forks source link

How to install thinplate? #2

Closed longmalongma closed 3 years ago

longmalongma commented 3 years ago

Hi, thanks for your great work. How to install thinplate? /Mask-Propagation-main/dataset/tps.py", line 4, in import thinplate as tps ModuleNotFoundError: No module named 'thinplate'

hkchengrex commented 3 years ago

Does pip install git+https://github.com/cheind/py-thin-plate-spline work for you?

longmalongma commented 3 years ago

pip install git+https://github.com/cheind/py-thin-plate-spline Sorry, it still doesn't work,Do you have a better way to install it?

$ pip install git+https://github.com/cheind/py-thin-plate-spline Collecting git+https://github.com/cheind/py-thin-plate-spline Cloning https://github.com/cheind/py-thin-plate-spline to /tmp/pip-568ni9jk-build fatal: unable to access 'https://github.com/cheind/py-thin-plate-spline/': Operation timed out after 0 milliseconds with 0 out of 0 bytes received

hkchengrex commented 3 years ago

That's weird... It works on my machine. Try cloning it manually git clone https://github.com/cheind/py-thin-plate-spline.git and do pip install -e . inside the cloned folder.

longmalongma commented 3 years ago

That's weird... It works on my machine. Try cloning it manually git clone https://github.com/cheind/py-thin-plate-spline.git and do pip install -e . inside the cloned folder.

Thanks, pip install git+git://github.com/cheind/py-thin-plate-spline it works.