R
RunPod•9mo ago
Tenlïs

Integrating Loras and Checkpoint into Fooocus ashleykza/fooocus:2.1.855 with preset realistic

Hello team 👋, I'm seeking assistance with integrating loras and checkpoint into Fooocus ashleykza/fooocus:2.1.855 (latest version), using a realistic preset. I've been executing commands like:
wget -O Woman_life_actions.safetensors "https://civitai.com/api/download/models/242138?type=Model&format=SafeTensor"
wget -O Woman_life_actions.safetensors "https://civitai.com/api/download/models/242138?type=Model&format=SafeTensor"
and
wget -O PerfectHandsv2.safetensors "https://civitai.com/api/download/models/254267?type=Model&format=SafeTensor"
wget -O PerfectHandsv2.safetensors "https://civitai.com/api/download/models/254267?type=Model&format=SafeTensor"
to acquire my loras and place them in the loras folder. Although they download correctly, they don't appear in the web UI lora dropdown list, even after selecting "refresh all files." Additionally, when I initiate fooocus with the preset, the output pictures aren't located in the designated directory. I'm struggling to effectively manage my focus environment. Does anyone have suggestions or insights on this issue? pepepray I'm also encountering similar challenges with the checkpoint feature. Thanks for any help you can provide!
8 Replies
ashleyk
ashleyk•9mo ago
You can't download things like PerfectHandsv2 via wget, they require you to be logged in to CivitAI to download them. If you use wget, it will not be a valid Lora. You need to download to your local machine and use something like runpodctl to transfer them to your pod. Thats why they are not working.
Tenlïs
Tenlïs•9mo ago
Oh I see ok. I also tried uploading them via Jupiter but it seems to have the same effect? could you tell me what runpodctl is?
justin
justin•9mo ago
runpodctl is just a way to transfer files locally to the pod through terminal but however you get it up to your pod seems like would make it valid The main thing as ashelyk is saying is that you need to be logged into civitai, so by downloading it locally, you guarantee the right files / valid files are downloaded, which then you got to upload it to your pod
Tenlïs
Tenlïs•9mo ago
I tried the upload method via Jupyter again using the file upload but I still can't access it via the web UI. To do this I used the resources (loras) that I use on my local version of fooocus (on my windows). the resources are functional, but as said before they are not available via the web ui
justin
justin•9mo ago
HM. This is after refreshing the webui? I know sometimes there are bugs with it showing up Hmmmm. sorry 😢 unfortunately not familiar enough with this. but interesting.
Tenlïs
Tenlïs•9mo ago
yep
justin
justin•9mo ago
Note: was able to dm and resolve this with @Tenlïs .
ashleyk
ashleyk•9mo ago
Thanks @justin . You shoudn't use Jupyter to transfer files, use runpodctl etc instead.
Want results from more Discord servers?
Add your server