Inpaint-Anything
Inpaint-Anything copied to clipboard
get error with kornia and SamplePadding
ImportError: cannot import name 'SamplePadding' from 'kornia' (/root/miniconda3/lib/python3.10/site-packages/kornia/init.py)
so, what's wrong?
ImportError: cannot import name 'SamplePadding' from 'kornia' (/root/miniconda3/lib/python3.10/site-packages/kornia/init.py)
so, what's wrong?
Can you show more context? What's the kornia version? I recommand you to install kornia 0.4.1.
pip3 install kornia==0.4.1
from kornia.constants import SamplePadding