-
Notifications
You must be signed in to change notification settings - Fork 1
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
very interesting extension, can I include some? #4
Comments
Thank you for taking note of this repository |
Thank you! |
Is that you want to display the
In fact, If you just want to display |
Thanks. It seems that you have the extensions as git submodules, maybe that is the only option, but I was initally thinking about using the extensions from the parent directory. like so, if that is possible, I don't know yet. |
Not very understanding I don't think so, because users may change the folder name of I noticed that you seem to be implementing the images deduplication function? And, you want to display duplicate images in gradio? |
You are probably right and a submodule avoids conflicts. I am thinking about several options:
It's a lot but I think it could be beneficial. |
Cool !
I have an extension for deduplication. My idea is to mark them by renaming, or move these duplicate images to another folder, and then view and process them through But I don't embed supplement: I provide users with easy viewing and processing methods through Gradio.Gallery, rather than through If users need more advanced processing, I will provide move or rename functions to mark these images for use in |
If you really want to embed
gr.HTML("error", elem_id="infinite_image_browsing_container_wrapper") I am not sure, I will try later supplement: Okay, it does work, but don't do that, it will invalidate the original iib Perhaps we should ask the author of |
Thanks for the information. I've already started a bit, but it will take some time, before I understand and then I may have questions. Don't expect this to be included any time soon. It's a slow process. I'll first make a feature branch for this. That's for sure. |
Looking forward to it😀 If there is anything I can help, I would be happy to
|
I have just started, and I've already made tons of changes. Though I do a lot of testing, I hope I didn't also break things for others. There were some issues already, e.g. fastapi, but I think I resolved them also. we'll see.. Thanks for the heads up. |
The feature branch I started with is here Its addition is just the extensions directory, with English added and some white space changes. I'm not even sure if I'm going to need all plugins, that's for later. If you like to help, you are welcome of course. |
ok, thanks a lot! yes, I'd like to run it on the tab, like you point out. you wrote about this before, I'll check it out. with |
yes,
In fact, I am sure there is a better way to run |
Well maybe a standalone version is a very interesting idea as well, a second app altogether, but currently I think I'll keep this an automatic1111 extension to keep it a little simple for myself. It's already a lot of changes. If you'd like to include some of the tagging features, then that would be an option as well. |
Yes, exactly like that. |
ok I'm trying it out now. It just says error there. |
Oh, sorry. forgive me, I overlooked that implementing this requires installing |
ah ok you install it as a submodule, or an import? |
Of course, this can be achieved, but it still conflicts with the original |
I could just fork the imagebrowser, clone my fork as a submodule and change the elem_ids in javascript, css and ui |
This is a feasible solution Do you konw about how As far as I know, If the user installs the original And, this is javascript of
|
I recently learned about the tagger included a fastapi, I didn;t know before and that was what I broke with my changes, but I believe I've fixed it. I also added a remote unload function. I don't know yet about I will test it out, of course, I have the extension as well. |
That's how A1111-WebUI sd-webui-fast-dataset-maker/webui.py Line 138 in 5bc34f3
May be useful for your understanding I still think it would be better for users to install iib themselves The duplicate check function only needs to provide users with a simple gallery, or mark images for independent iib to use |
Also I believe your repository would be useful: image-deduplicate-cluster-webui |
Thank you for your comment!
I didn't write many algorithms. I just used the But it is better not to refer to it first. The code of version 1.0.0 is too bad. I am reconstructing it. I will release version 2.0.0 when I am free, probably the day after tomorrow supplement: that's alpha for reconstructing |
Hi, check this commit I almost finished it. |
Thanks. I'm currently debugging some other ui issues that can improve user experience, but I'll work on the gallery asap. |
It seems I'm still missing something, or due to the pending elem_id I still only see the error label and my basic gallery. I fetched your branch: the changes on top of my fast-dataset-maker-gallery, locally named |
It should not be a problem with other extensions or UI themes, unless another Another possible reason is: |
I can understand javascript, but it can be complex, in particular async and debugging. Both
and I vaguely recall that tauri may be something related. EDit: actually no, Tauri is a different frontend, and I run it in a browser. Then, if I click on the gallery tab, I get 5 times in a row:
That |
I found something here which indicates the state extension might be the culprit, which I have. I'll try disabling that. Nope. |
Edit: nevermind, this is for colab, not to run in a jupyter notebook on my pc I run webui on my own desktop PC and I have the sd-webui-infinite-image-browsing, which just works. Therefore I don't think this issue has to do with packages. Thank you for the information, I have some weekend time now so I'll figure it out, don't worry. |
These packages are irrelevant and do not affect the normal operation of iib. Similarly, GPU does not affect the work of iib.
Colab prohibits running any code with the substring “SD-Webui”, I have to use base64 to encrypt it to deceive colab.
I did not modify anything in the submodule. In Colab, I directly pulled the submodule from your fork.
This is a strange problem, if it can run normally in Colab, it means the js file works well. |
I also just tried my branch where I already merged the master branch and that works as well in colab.
Thanks, this seems to be related, though it is not working yet, locally I do not get the error message, but it is different. interesting! currently I am seeing:
And that means it is at least loading the infinite browser. Edit: I think I will have it now, I was still on your standalone branch. |
You mean, you see this message in the gellery of Tagger on your PC? |
Thanks for all the help ! |
You are welcome.
You solve this problem after disabling iib? |
Forgive me for not trying this before. I was expecting neither or both to work. I think there are some more things desireable though, like configuring what folder iib starts with, and drag and drop is not working, but I'll also work on this. iib needs to work in a special modus, if on a tab, I guess |
That’s ok.
Don’t worry, I can implement these. |
Directed from here, it seems you have an extension that includes something very similar to what I would like to implement in the stable-diffusion-webui-wd14-tagger extension that I've recently handed maintainership of. Your license permits it, so I'll pick up some of your changes, unless you disagree. Your code looks pretty good, I'll have to translate some comments I am unable to read. Thanks.
The text was updated successfully, but these errors were encountered: