Getting black image only
Hi, I am only getting a black blob where the mask is drawn instead of an image when using the SD1.5 and Paint by Example tools. I have the dreaded MSI 1660 Super GPU with 6gb VRAM. I added the --sd-disable-nsfw command line argument. Attached is the error message I get. Any solutions?
Thanks

No reply to my previous question. Do you have any idea why this is not working for me?
Thanks

Probably because of fp16 precision, I have released a new version that allows you to add the --no-half option to the startup command, please upgrade to 0.30.1(for one-click installer, rerun win_config.bat will install the newest version of lama-cleaner)
Thanks very much for your reply. I have reinstalled and made the changes as suggested. When doing the "Dream" process I am getting a "Something went wrong: TypeError: Failed to fetch" message and the CMD window closes down. I was also getting this error sometimes before your update. Also when updating using win_config.bat there is a file not found error before it continues to install. Not sure if these things are related. I am a novice at this stuff so apologies for these issues.

Thanks very much for your reply. I have reinstalled and made the changes as suggested. When doing the "Dream" process I am getting a "Something went wrong: TypeError: Failed to fetch" message and the CMD window closes down. I was also getting this error sometimes before your update. Also when updating using win_config.bat there is a file not found error before it continues to install. Not sure if these things are related. I am a novice at this stuff so apologies for these issues.
![]()
Thanks for providing snapshots, there should be no problem with your operation, it definitely is an internal error in Lama Cleaner. I think FileNotFoundError can be ignored, it appears on my PC(3080), and my environment works fine. However, I don't have a 1660 GPU to reproduce the error. In the next release I will add --cpu-offload command line args, which will reduce the vRAM usage, it may be helpful for your error, please stay tuned...
Thanks again for trying to help my problem. Just one last question. I have lama-cleaner installed on my E drive but when I update or load models these large files end up in this folder C:\Users\myname.cache\huggingface. There is about 35gb in these folders. Is there anyway I can change this so these large files end up in my lama-cleaner folder on my E drive instead of my C drive?
Thanks again
- Copy
C:\Users\myname.cache\huggingfaceto a drive(to avoid redownload model after changeHF_HOME) - Change
win_start.batfile, set new directory
set TORCH_HOME=your_directory
set HF_HOME=your_directory
@call invoke start
Thanks for your help. Your recent changes seem to have solved most of my problems. Sometimes the Dream function doesn't produce any results but that could be because of user error. :-)
Thanks again.