danbot-comfy-node icon indicating copy to clipboard operation
danbot-comfy-node copied to clipboard

Extension only

Open godmt opened this issue 1 year ago • 2 comments

Is it possible to use only extensions like the previous upsampler node? If possible, could you present a sample workflow? If not possible, could you create an extension-only node?

I want to explore ideas based on some danbooru tags.

godmt avatar Mar 29 '25 04:03 godmt

I added an example workflow of manual translating and extending. (Manual_Translation+Extension.json)

However, the issue with extension is fundamental, as it requires both translated tags and natural language text in advance. The current node doesn't directly provide an option to manually specify translated tags, necessitating the use of the Extractor node.

As a lower-level approach, you can directly provide the template to the model via tag_template arg as text: Low_Level_Extension.json

This method closely resembles the actual usage experience in transformers library and allows finer control, although it may not be very user-friendly.

p1atdev avatar Mar 29 '25 16:03 p1atdev

Thank you for the sample workflows including the lower-level approach!

it requires both translated tags and natural language text

I now understand exactly the requirements. I also understand this is the purpose of Danbot.

godmt avatar Mar 30 '25 10:03 godmt