Skip to content

conflict with kornia in pyramid_blending.py #505

Description

@asamafilm

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions