Skip to content
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

[Bug]: Checkpoint cannot be loaded #3673

Open
4 of 5 tasks
JohnneyTexas opened this issue Oct 12, 2024 · 1 comment
Open
4 of 5 tasks

[Bug]: Checkpoint cannot be loaded #3673

JohnneyTexas opened this issue Oct 12, 2024 · 1 comment
Labels
bug Something isn't working triage This needs an (initial) review

Comments

@JohnneyTexas
Copy link

Checklist

  • The issue has not been resolved by following the troubleshooting guide
  • The issue exists on a clean installation of Fooocus
  • The issue exists in the current version of Fooocus
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

As the number of checkpoints increased, I created directories for SD, SDXL, SD3, and Flux and moved the checkpoints to each directory.
As a result, in Fooocus, when selecting a checkpoint, Dir/Checkpoint.safetensors appears in the drop-down list.
However, when I press the Generate button after selecting a checkpoint, the generation appears to start normally on the screen, but the console does not load the checkpoint at all.
In addition, no error is output, and the system remains stopped.
If the checkpoint is moved back to its original location, it works normally.
Note that this issue does not occur in UIs other than Foooge (A1111, Forge, SwarmUI, Inference).

Steps to reproduce the problem

Move a checkpoint to lower directories

What should have happened?

Checkpoint must be loaded

What browsers do you use to access Fooocus?

Mozilla Firefox

Where are you running Fooocus?

Locally

What operating system are you using?

No response

Console logs

none

Additional information

No response

@JohnneyTexas JohnneyTexas added bug Something isn't working triage This needs an (initial) review labels Oct 12, 2024
@JohnneyTexas JohnneyTexas changed the title [Bug]: [Bug]: Checkpoint cannot be loaded Oct 12, 2024
@rururu243
Copy link

ive also occured this, the solution was easy, just change the name of the safetensors you want in the default.json in the presets folder in the fooocus/presets, change the checkpoint to the one you want, like ponyxl.safetensors
then you go in the config.txt and do the same:
{
"path_checkpoints": [
"C:\Programs\anaconda3\envs\Fooocus\models\checkpoints"
],
"path_loras": [
"C:\Programs\anaconda3\envs\Fooocus\models\loras"
],
"default_model": "ponyxl.safetensors", <----- if the default model dosent say in the config you add it just like this,

and if that isnt enough you change the config_modification_tutorial.txt

where it says default_model:"ponyxl.safetensors"

well this worked for me and i dont have to wait 30 minutes for the damn loading of the models,
Hope this helped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This needs an (initial) review
Projects
None yet
Development

No branches or pull requests

2 participants