-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Error 1006 when using image prompt #2239
Comments
Huggingface was likely having some issues yesterday. It should only download the first time. It could possibly be corrupt. Try shutting down the app, delete that model If that doesn't work try to go to the browser and download it directly. Then you can move it to the proper folder and restart the app. |
Thanks for getting back to me. I have tried deleting everything and starting from scratch. Did not work. I have also tried downloading it from the browser directly. I have tried this by clicking on the file - it started downloading from the browser. Still doesn't work. |
UPDATE: I have now managed to download the file directly from the browser and Foocus does open. However when I ask to generate something i get 'ERROR' |
UPDATE2: Apparently I had to update my driver and now it works. However it took 347.50 seconds to generate an image :( I have 16GB RAM and 6GB Vram GTX 1660 Ti |
UPDATE3: When I try image input I get 'Connection errored out' -- I have checked the System swap and it looks good. Automatic is checked. |
Can you post your full log? |
The log only says '1006' |
That is not your log, the full terminal output from the window. |
https://github.com/lllyasviel/Fooocus/blob/main/troubleshoot.md#error-1006 => System swap or memory issue, please double check and provide your full terminal log. |
Each time i input an image i get: Error Connection errored out. I have followed the guide and I checked the box 'Automatically manage paging file size for all drivers' Please find the log below ( this is what i get in cmd ): C:\Focus>.\python_embeded\python.exe -s Fooocus\entry_with_update.py To create a public link, set |
I don't know if this helps but please check on which disk the pagefile has been created. You can see the location in the same dialogue where you've checked "Automatically manage paging file size for all drivers". |
Thanks for getting back to me. I only have one partition on this PC so it should be fine. When I installed Windows it created a secondary windriver partition, hopefully it doesn;t affect this. Anyway, I checked and it all looks ok. Do you have any other ideas? I can generate an image, but i only get this error when I input an image :( |
Check any issue in https://github.com/search?q=repo%3Alllyasviel%2FFooocus+1006&type=issues This issue has turned into a duplicate of many 1006 issues. On Colab this indicates too high RAM usage or resource linit peaks. Feel free to check with either or a combination of the following args which helped some users in #1710 to balance the load:
Maybe |
Thank you. I will try this. Can you tell me in which file I should add it? |
I am not a programmer so I'm not sure how to put it exactly. Step by step instructions will help. I put it in networking.py but now i get a syntax error. |
UPDATE: I have solved the issue by adding this code starting from line 162:
Thank you all for your help! |
Read Troubleshoot
[x] I confirm that I have read the Troubleshoot guide before making this issue.
Describe the problem
I have downloaded Fooocus as instructed. Clicked on run.bat and waited until the download is ready. However nothing happens after the download is finished. Each time I open the run file it starts downloading again.
Can you please help?
Full Console Log
C:\Focus>.\python_embeded\python.exe -s Fooocus\entry_with_update.py
Already up-to-date
Update succeeded.
[System ARGV] ['Fooocus\entry_with_update.py']
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Fooocus version: 2.1.865
Downloading: "https://huggingface.co/lllyasviel/fav_models/resolve/main/fav/juggernautXL_v8Rundiffusion.safetensors" to C:\Focus\Fooocus\models\checkpoints\juggernautXL_v8Rundiffusion.safetensors
100%|████████████████████████████████████████████████████████████████████████████▉| 6.62G/6.62G [09:33<00:00, 12.7MB/s]
The text was updated successfully, but these errors were encountered: