shiimizu / ComfyUI_smZNodes

Custom nodes for ComfyUI such as CLIP Text Encode++
GNU General Public License v3.0
168 stars 12 forks source link

Linux lowercase/uppercase issue ? #71

Open drumicube opened 2 months ago

drumicube commented 2 months ago

Hello,

First thanks a lot for smZNodes, I'm really impressed by how close the result is compared to Auto1111.

I just would like to report a strange behavior involving lowercase/uppercase on my Linux system using this negative:

(worst quality, low quality, normal quality:1.4), lowres, low resolution, watermark, EasyNegative, (verybadimagenegative_v1.3:0.75), bad-hands-5,(neck halter:1.1)

Here is an output using this negative on Auto1111:

00011-1600934047

Using the same metadata, here is the result on ComfyUi with smZNodes:

base_0001

I noticed the EasyNegative embedding was saved without capital letters as easynegative.safetensors on my system. After editing the negative under ComfyUi and replacing EasyNegativeby easynegative, it fixed the problem:

base_0002

This is just my guess, but as it's working even with wrong capital letters on Auto1111, I suspect a pass is done to check various upper lower case situations to find the embedding. Knowing that Windows is also not very strict regarding capital letter files, there's a lot of chance for this only impacting Linux users.

Thanks.