Coder Social home page Coder Social logo

Comments (7)

cubiq avatar cubiq commented on July 1, 2024 1

only explanation I could give is that either API uses an older version (precisely commit 4dcee21) or the workflow was saved with an older version and still has the reference at those 2 fields that were removed. Easy fix is to open the JSON file and remove the spurious values

from cog-comfyui.

fofr avatar fofr commented on July 1, 2024

Hmm, this seems odd, cc'ing @cubiq who might know more.

I can't see reference to those arguments on the latest version of the node here:
https://github.com/cubiq/ComfyUI_essentials/blob/4f2f11ca3c6f89e385bae8af739861f495e60540/mask.py#L418

from cog-comfyui.

drommerkiller avatar drommerkiller commented on July 1, 2024

only explanation I could give is that either API uses an older version (precisely commit 4dcee21) or the workflow was saved with an older version and still has the reference at those 2 fields that were removed. Easy fix is to open the JSON file and remove the spurious values

Thanks for the reply!
Where that those values should be in the api json?
Afaik this is the node:
"44": {
"inputs": {
"threshold_r": 0.15,
"threshold_g": 0.15,
"threshold_b": 0.15,
"image": [
"31",
0
]
},
"class_type": "MaskFromRGBCMYBW+",
"_meta": {
"title": "🔧 Mask From RGB/CMY/BW"
}
},

So the json is made with the new version as it does not have those lines. API probably should use same commit than what is on replicate so can that be Replicate cache issue it still loading old version?

from cog-comfyui.

drommerkiller avatar drommerkiller commented on July 1, 2024

Missclicked the close button, sorry.

from cog-comfyui.

cubiq avatar cubiq commented on July 1, 2024

if the JSON file is updated, then the API is using an older version

from cog-comfyui.

fofr avatar fofr commented on July 1, 2024

https://github.com/fofr/cog-comfyui/blob/main/custom_nodes.json#L59-L60

This is the commit that's live – 5f1fc52, it's the SD3 negative conditioning one.

@drommerkiller please share some prediction links with error so I can see:

  • model version you're running
  • your json
  • the error

from cog-comfyui.

drommerkiller avatar drommerkiller commented on July 1, 2024

Sorry, this was then user error. I was calling earlier commit and did not figure that out as it didn't give error for missing node, but for the functionality of a node. This model version works now without the error: 075290da1227f68f144b33baaed36ed5a1f2c907dbad0584347b11b4b8ab7963

Sorry for wasting your time with this :(

from cog-comfyui.

Related Issues (20)

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.