-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题:object of type 'NoneType' has no len() #8
Comments
This issue is most likely due to the version of peft |
and also, please check if you have correctly put the Joy caption model into the folder. |
Hey @TTPlanetPig – first of all THX a lot for this great custom node :) ! I am currently testing different vision models against each other. JoyCaption is really strong! I had the same error I found the instructions for installing the JoyCaption lora (is it really a “lora”?) somewhat misleading. If you visit the URL https://huggingface.co/spaces/fancyfeast/joy-caption-alpha-two, you get to a hugging face space / app and not to the overview of the stored data. This would then be the link https://huggingface.co/spaces/fancyfeast/joy-caption-alpha-two/tree/main. And then I was confused by the subfolder “cgrkzexw-599808” inside of the folder structure on the HF page, because you had written that the corresponding data in ComfyUI should be copied to a subfolder “cgrkzexw-599808” (...\models\Joy_caption\cgrkzexw-599808). At first I didn't know if I could ignore the data on the first level and only need the data in the “cgrkzexw-599808” folder. Answer: you really need all data from https://huggingface.co/spaces/fancyfeast/joy-caption-alpha-two/tree/main inklusive the folder “cgrkzexw-599808” However, this only seemed to be important for the manual download option. In the end, I was able to download the complete dataset with the command Cheers |
I have had this issue before, and after checking to make sure all the models are in the correct place, I realized that it wasn't loading the LLM model into memory. Because of how I set my clip and vae into specific cpu/gpu, some how it couldn't load the unsloth model into cuda:0... once i disabled the clip and vae forcing, it worked fine. |
same issues! how to disabled the clip and vae? |
unbelievable, no matter what i try - it still gives me the same error that was mentioned above. Linux, python 3.12, Everything was done according to instructions, files placed according to provided directory structure. No luck, something is terribly wrong either with testing or describing how to install. Please fix! Thank you |
ComfyUI Error Report
Error Details
Stack Trace
System Information
Devices
The text was updated successfully, but these errors were encountered: