hey guys, I encountered this import error:
ComfyUI-LTXVideo\pyramid_blending.py", line 7, in from kornia.geometry.transform.pyramid import ( ImportError: cannot import name 'pad' from 'kornia.geometry.transform.pyramid'
perhaps my kornia version in new comfyui has changed the module
python -c "import kornia.geometry.transform.pyramid as p; print(dir(p))":
['F', 'KORNIA_CHECK', 'KORNIA_CHECK_SHAPE', 'PyrDown', 'PyrUp', 'ScalePyramid', 'all', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'spec', '_get_pyramid_gaussian_kernel', 'annotations', 'build_laplacian_pyramid', 'build_pyramid', 'filter2d', 'find_next_powerof_two', 'gaussian_blur2d', 'is_powerof_two', 'math', 'nn', 'pyrdown', 'pyrup', 'torch']
python -c "import kornia; print(kornia.version)":
0.8.3
hey guys, I encountered this import error:
ComfyUI-LTXVideo\pyramid_blending.py", line 7, in from kornia.geometry.transform.pyramid import ( ImportError: cannot import name 'pad' from 'kornia.geometry.transform.pyramid'
perhaps my kornia version in new comfyui has changed the module
python -c "import kornia.geometry.transform.pyramid as p; print(dir(p))":
['F', 'KORNIA_CHECK', 'KORNIA_CHECK_SHAPE', 'PyrDown', 'PyrUp', 'ScalePyramid', 'all', 'builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'spec', '_get_pyramid_gaussian_kernel', 'annotations', 'build_laplacian_pyramid', 'build_pyramid', 'filter2d', 'find_next_powerof_two', 'gaussian_blur2d', 'is_powerof_two', 'math', 'nn', 'pyrdown', 'pyrup', 'torch']
python -c "import kornia; print(kornia.version)":
0.8.3