WASasquatch / was-node-suite-comfyui

An extensive node suite for ComfyUI with over 210 new nodes
MIT License
1.22k stars 177 forks source link

Trying to make a simplified batch loader getting a weird tensor issue #438

Open bigandtallrecords opened 4 months ago

bigandtallrecords commented 4 months ago

Hello,

I know this isn't your code that I'm showing. But I am quite new to coding. And I have a very specific use case that I need to get 3 folders of images loading simultaneously with individual indexes and frame offset. So I had chatgpt mock this up for me. But the tensors are all wrong and keeps presenting three black and white images in different contrast ratios. I don't know enough about this to solve this. But I really need to figure out how to get three image folders drawing in to the same comfyui and porting to different locations. Maybe I'm overthinking this? But here is the code and some images of the issue. Hoping I'm just stupid and its an easy fix. I've attached the .zip with a .py and a screenshot showing the issue. custom_batch_loader-x.py.zip

Thank you very much Daniel ![Uploading Screenshot 2024-07-12 at 8.57.21 PM.png…]()

WASasquatch commented 4 months ago

I'll take a look when I am off. Happy to help if I can. Tensor mismatches are very common, and definitely confusing. I hear ya.