Inpaint-Anything icon indicating copy to clipboard operation
Inpaint-Anything copied to clipboard

get error with kornia and SamplePadding

Open levylll opened this issue 1 year ago • 1 comments

ImportError: cannot import name 'SamplePadding' from 'kornia' (/root/miniconda3/lib/python3.10/site-packages/kornia/init.py)

so, what's wrong?

levylll avatar Apr 23 '23 06:04 levylll

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

geekyutao avatar Apr 23 '23 07:04 geekyutao

from kornia.constants import SamplePadding

CharlesNord avatar Feb 01 '24 07:02 CharlesNord