Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torch application error #754

Open
goodluck821 opened this issue Nov 23, 2024 · 0 comments
Open

Torch application error #754

goodluck821 opened this issue Nov 23, 2024 · 0 comments

Comments

@goodluck821
Copy link

goodluck821 commented Nov 23, 2024

My ipadapter reported errors when applying torch.transforms functions to both IPAdapterEncoder and IPAdapterNoise,and IPAdapterTiled and IPAdapterTiledBatch(IPAdapterTiled) saying that the type returned was incorrect.
ValueError: Argument interpolation should be an InterpolationMode or a corresponding Pillow integer constant, but got InterpolationMode.BICUBIC.
Using this function to resize muak or crop mask is a problem, I look like the author is also calling pytoch library file recommended code, why should there be an error, my torch's version is 0.18.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant