GithubHelp home page GithubHelp logo

image-resize-comfyui's People

Contributors

palant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

image-resize-comfyui's Issues

Resize methods

Can you add additional resize methods other than bicubic?

Input Validation Error When Inputting String for side_ratio

Hello, when using a node to input the value for side_ratio there is an input invalidation error that occurs. It looks like the parse_side_ratio() function is being called twice and the first call the value for side_ratio is empty. Unfortunately when the validation error is thrown this causes resize() to have no output even though parse_side_ratio() is called again with non-empty values.

I was able to hack around this problem by returning a default ratio from parse_side_ratio() when an exception occurs. The image then resizes according to the ratio input from my node and the default that I entered is ignored. I know this is not desirable behavior generally but it works for my use case. I took a crack at writing a proper fix but I can't make heads or tails of why side_ratio is empty on the first call to parse_side_ratio().

Also worth noting that this problem was completely bypassed when I entered the value for the side_ratio input via a primitive node.

Picture below shows a simplified example of a graph that will produce this issue.

image

resize mask issue

Hello,really appreciate your work! But when i connect [padding image for outpainting]'s mask to the [mask] socket in this node. It just report error. I wonder if i am doing something wrong
Input and output must have the same number of spatial dimensions, but got input with spatial dimensions of [1542] and output size of (896, 1542). Please provide input tensor in (N, C, d1, d2, ...,dK) format and output size in (o1, o2, ...,oK) format.
image

Conflicted nodes

It appears there's a conflict with this node: https://github.com/taabata/LCM_Inpaint_Outpaint_Comfy

If your node is included in a workflow and LCM_Inpaint_Outpaint_Comfy is installed while your node isn't, it will default to using LCM_Inpaint_Outpaint_Comfy instead.

Additionally, in a scenario where neither node is installed and a workflow containing your node is loaded, both nodes are visible under "install missing node."

I'm uncertain if the issue lies with your node.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.