Comments (7)
actually we can probably use
clip.cond_stage_model.clip_l.special_tokens
which has the index for the padding token:
{'start': 49406, 'end': 49407, 'pad': 49407}
from comfyui_fizznodes.
A separate thing --- this line silently truncates the longer prompt, which also seem incorrect?
from comfyui_fizznodes.
I've made some changes yesterday with your suggestion. The error is no longer present but I'll keep this open while people try it out and if there is any issues, they can report here and I'll have a look at it. Sorry it's been a while looking into this, it's been a busy week.
from comfyui_fizznodes.
Hey there!
Went through several github issues here, and must say, the issue is still there.
Updated both comfy and custom nodes, everything's latest.
ERROR:root:!!! Exception during processing !!!
ERROR:root:Traceback (most recent call last):
File "C:\ComfyUI_BLYAT\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 153, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_BLYAT\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 83, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_BLYAT\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\execution.py", line 76, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_BLYAT\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes\ScheduledNodes.py", line 126, in animate
pc = BatchPoolAnimConditioning( pos_cur_prompt, pos_nxt_prompt, weight, clip,)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ComfyUI_BLYAT\ComfyUI_windows_portable_nvidia_cu121_or_cpu\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_FizzNodes\BatchFuncs.py", line 208, in BatchPoolAnimConditioning
final_conditioning = torch.cat(cond_out, dim=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Sizes of tensors must match except in dimension 0. Expected size 154 but got size 77 for tensor number 25 in the list.
(prompt not of my own, so hid it)
Although it went through when there were 9-10 frame nubmers total, not sure what was the exact number.
from comfyui_fizznodes.
Yes! I ran into that problem too! A problem without a cause.
from comfyui_fizznodes.
I am encounter the same issue here. I notice that when I modify the prompt by removing repeating vocabularies between pre/app text and schedule prompt can sometime resolve the error.
from comfyui_fizznodes.
this issue was solved in the latest commit. Thanks for your patience
from comfyui_fizznodes.
Related Issues (20)
- Issues with BatchPromptScheduleSDXL-Latent HOT 2
- [Question] Batch on SDXL? HOT 2
- import failed HOT 8
- PromptSchedule & StringSchedule will not replace pw_a / pw_b / pw_c / pw_d placeholders HOT 1
- Batch Prompt Schedule AnemateDiff with SDXL checkpoint not working ? HOT 3
- Need help with syntax in blink girl example HOT 3
- Could we get a option for no prompt weighting? HOT 2
- When using animatediff to test some frames in the middle, how to make it work HOT 1
- if max_size is 0 in some files, thows a warning. HOT 1
- works beautifully - noticed one bug/behavior HOT 2
- Note: NumExpr detected 32 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8. HOT 1
- dtype float64 HOT 4
- This plugin is really cool! Unfortunately, it doesn't work with ELLA. Do you have any plans to update it in the future? HOT 1
- After the update it becomes: NameError: name 'latents' is not defined HOT 3
- Its back? HOT 2
- Error occurred when executing BatchPromptSchedule: Expecting value: line 1 column 7 (char 6) HOT 4
- String Concatenate node returns trailing comma HOT 2
- When I input 50 for "start_frame", it does not start from the prompt of frame 50, but instead starts from the prompt of frame 0. HOT 2
- FutureWarning: Setting an item of incompatible dtype is deprecated and will raise an error in a future version of pandas. HOT 2
- Import Failed every time, need to "Try Fix" to run it HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from comfyui_fizznodes.