Skip to content

[Bug]: Custom aspect ratios are not taking effect with 'Anime' preset. #3885

Open
@ElektroStudios

Description

@ElektroStudios

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?

Custom aspect ratios works without any issues for 'Initial' preset, however they are not taking effect with 'Anime' preset:

Image

Is this a bug, or I'm missing something to do?.

I just saw a video on Youtube of a person using 'Anime' preset using default settings and Fooocus generated a perfect "widescreen" picture for him... then why in my case it generates this kind of vertical portrait by default using a 16:9 aspect ratio?.

Please take into account that I am VERY new (rookie) with Google Colab and Fooocus. In fact I'm using Colab and Fooocus for first time and less than 1 hour. It was difficult for me trying to investigate for clues and to figure out how to start just adding custom resolutions. Thanks in advance for your help and consideration trying to guide me like a noob.

What web browser you are using
Mozilla Firefox (Developer Edition) v136.0b7 (64-bit)

Additional context
My config.txt file content:

{
    "path_checkpoints": [
        "/content/Fooocus/models/checkpoints"
    ],
    "path_loras": [
        "/content/Fooocus/models/loras"
    ],
    "available_aspect_ratios": [
        "1728*576",
        "1920*1080",
        "3840*2160"
    ],
    "path_embeddings": "/content/Fooocus/models/embeddings",
    "path_vae_approx": "/content/Fooocus/models/vae_approx",
    "path_vae": "/content/Fooocus/models/vae",
    "path_upscale_models": "/content/Fooocus/models/upscale_models",
    "path_inpaint": "/content/Fooocus/models/inpaint",
    "path_controlnet": "/content/Fooocus/models/controlnet",
    "path_clip_vision": "/content/Fooocus/models/clip_vision",
    "path_fooocus_expansion": "/content/Fooocus/models/prompt_expansion/fooocus_expansion",
    "path_wildcards": "/content/Fooocus/wildcards",
    "path_safety_checker": "/content/Fooocus/models/safety_checker",
    "path_sam": "/content/Fooocus/models/sam",
    "path_outputs": "/content/Fooocus/outputs"
}

Steps to reproduce the problem

Just edited the config.file, then downloaded 'Anime' preset and tried to use it.

What should have happened?

...it's an obvious thing.

What browsers do you use to access Fooocus?

Mozilla Firefox

Where are you running Fooocus?

Cloud (Google Colab)

What operating system are you using?

Windows 10

Console logs

Sorry, I don't have.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis needs an (initial) review

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions