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

Date Sort is not working properly #605

Open
z4m1 opened this issue Apr 25, 2024 · 2 comments
Open

Date Sort is not working properly #605

z4m1 opened this issue Apr 25, 2024 · 2 comments

Comments

@z4m1
Copy link

z4m1 commented Apr 25, 2024

I use the Directory name pattern setting as [model_name] to manage output by model.
It looks like this.
image

After changing these settings, the sorting method on the txt2img and img2img tabs in walk mode no longer works correctly.
This problem occurs only in Walk mode and not in Quick Move.
Then, when the Directory name pattern setting is set back to default, it works well again.

My Environment
stable-diffusion-webui-forge, windows, vivaldi(chorome system), python: 3.10.11  •  torch: 2.1.2+cu121  •  xformers: N/A  •  gradio: 3.41.2

@zanllp
Copy link
Owner

zanllp commented Apr 26, 2024

I'll take another look at how to handle this issue in a few weeks; I'm currently traveling

@zanllp
Copy link
Owner

zanllp commented May 25, 2024

The underlying mechanism of walk mode performs a DFS operation on the folder. In walk mode, sorting only compares items within the same level. Therefore, walk mode may not perform well when you continuously switch models to generate images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants