[GH-ISSUE #5] BOP extension don't show #4

Closed
opened 2026-10-30 21:27:30 +00:00 by bsakaguchi · 38 comments
Owner

Originally created by @NazakaSyndrome on GitHub (Jan 29, 2024).
Original GitHub issue: https://github.com/Haoming02/sd-webui-old-photo-restoration/issues/5

Hi,

I've followed the installation steps, but I don't see the "BOP" tab in my list.

I don't get any error messages. Am I missing something?

Originally created by @NazakaSyndrome on GitHub (Jan 29, 2024). Original GitHub issue: https://github.com/Haoming02/sd-webui-old-photo-restoration/issues/5 Hi, I've followed the installation steps, but I don't see the "BOP" tab in my list. I don't get any error messages. Am I missing something?
Author
Owner

@Haoming02 commented on GitHub (Jan 30, 2024):

Have you restarted your Webui?

<!-- gh-comment-id:1915900473 --> @Haoming02 commented on GitHub (Jan 30, 2024): Have you restarted your Webui?
Author
Owner

@algarih commented on GitHub (Feb 23, 2024):

same here, installed it as instruction, but not "BOP" tab is not showing

<!-- gh-comment-id:1960771421 --> @algarih commented on GitHub (Feb 23, 2024): same here, installed it as instruction, but not "BOP" tab is not showing
Author
Owner

@Haoming02 commented on GitHub (Feb 23, 2024):

Have you restarted your Webui?

Any error code?

<!-- gh-comment-id:1960772104 --> @Haoming02 commented on GitHub (Feb 23, 2024): Have you restarted your Webui? Any error code?
Author
Owner

@algarih commented on GitHub (Feb 23, 2024):

yes restarted twice, i cant find a related issue in the cmd when starting

folder structure:
extensions > sd-webui-old-photo-restoration > Face_Detection > shape_predictor_68_face_landmarks.dat
extensions > sd-webui-old-photo-restoration > Face_Enhancement > checkpoints (for face_checkpoints.zip)
extensions > sd-webui-old-photo-restoration > Global > checkpoints (for global_checkpoints.zip)

<!-- gh-comment-id:1960829776 --> @algarih commented on GitHub (Feb 23, 2024): yes restarted twice, i cant find a related issue in the cmd when starting folder structure: extensions > sd-webui-old-photo-restoration > Face_Detection > shape_predictor_68_face_landmarks.dat extensions > sd-webui-old-photo-restoration > Face_Enhancement > checkpoints (for face_checkpoints.zip) extensions > sd-webui-old-photo-restoration > Global > checkpoints (for global_checkpoints.zip)
Author
Owner

@Haoming02 commented on GitHub (Feb 23, 2024):

What's the version of your webui?

<!-- gh-comment-id:1960838995 --> @Haoming02 commented on GitHub (Feb 23, 2024): What's the version of your webui?
Author
Owner

@algarih commented on GitHub (Feb 23, 2024):

version: [v1.7.0]

<!-- gh-comment-id:1961302576 --> @algarih commented on GitHub (Feb 23, 2024): version: [v1.7.0]
Author
Owner

@Haoming02 commented on GitHub (Mar 3, 2024):

Hmm...

I just tried again on a fresh install of v1.8.0 right now. And I still have zero issues...

Sorry, can't reproduce the issue without any error or leads...

<!-- gh-comment-id:1975092271 --> @Haoming02 commented on GitHub (Mar 3, 2024): Hmm... I just tried again on a fresh install of `v1.8.0` right now. And I still have zero issues... Sorry, can't reproduce the issue without any error or leads...
Author
Owner

@Haoming02 commented on GitHub (Mar 4, 2024):

I tried on 2 systems from v1.6.0 to v1.8.0 and never had this issue T-T

<!-- gh-comment-id:1975637892 --> @Haoming02 commented on GitHub (Mar 4, 2024): I tried on 2 systems from `v1.6.0` to `v1.8.0` and never had this issue T-T
Author
Owner

@Haoming02 commented on GitHub (Mar 4, 2024):

Can someone try installing this Extension and see if you can get that new Tab at least?

https://github.com/jexom/sd-webui-depth-lib

<!-- gh-comment-id:1975638991 --> @Haoming02 commented on GitHub (Mar 4, 2024): Can someone try installing this Extension and see if you can get that new Tab at least? https://github.com/jexom/sd-webui-depth-lib
Author
Owner

@dlovep commented on GitHub (Mar 4, 2024):

Installed the extension, still nothing show up, below is the extension list.
image

<!-- gh-comment-id:1975666247 --> @dlovep commented on GitHub (Mar 4, 2024): Installed the extension, still nothing show up, below is the extension list. ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/8544a4b7-a684-43ce-a62e-a86239d0076d)
Author
Owner

@Haoming02 commented on GitHub (Mar 4, 2024):

Not even the Depth Lib tab?

<!-- gh-comment-id:1975667469 --> @Haoming02 commented on GitHub (Mar 4, 2024): Not even the **Depth Lib** tab?
Author
Owner

@dlovep commented on GitHub (Mar 4, 2024):

Not even the Depth Lib tab?

Nothing at all, no extra tab.

<!-- gh-comment-id:1975668079 --> @dlovep commented on GitHub (Mar 4, 2024): > Not even the **Depth Lib** tab? Nothing at all, no extra tab.
Author
Owner

@Haoming02 commented on GitHub (Mar 4, 2024):

Thank god
That means it's the Webui's problem, not mine.

I'll open an issue in the Automatic1111 repo then.

<!-- gh-comment-id:1975668786 --> @Haoming02 commented on GitHub (Mar 4, 2024): ~~Thank god~~ That means it's the Webui's problem, not mine. I'll open an issue in the Automatic1111 repo then.
Author
Owner

@dlovep commented on GitHub (Mar 4, 2024):

Here are other error on loading main.py
image

<!-- gh-comment-id:1975669895 --> @dlovep commented on GitHub (Mar 4, 2024): Here are other error on loading main.py ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/c77ed42c-6aa8-46f0-a0ec-aa558c933a75)
Author
Owner

@Haoming02 commented on GitHub (Mar 4, 2024):

Huh. I didn't encounter that.
Doesn't basicsr come with the Webui?

<!-- gh-comment-id:1975674063 --> @Haoming02 commented on GitHub (Mar 4, 2024): Huh. I didn't encounter that. Doesn't `basicsr` come with the Webui?
Author
Owner

@dlovep commented on GitHub (Mar 4, 2024):

I think that's an update issue, I am reinstalling the latest release SD 1.8, will report back if same error. (for BOP)

<!-- gh-comment-id:1975678263 --> @dlovep commented on GitHub (Mar 4, 2024): I think that's an update issue, I am reinstalling the latest release SD 1.8, will report back if same error. (for BOP)
Author
Owner

@dlovep commented on GitHub (Mar 4, 2024):

Reinstall everything fresh from A1111 1.8, still no BOP tab
image

<!-- gh-comment-id:1975758130 --> @dlovep commented on GitHub (Mar 4, 2024): Reinstall everything fresh from A1111 1.8, still no BOP tab ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/9c71ef23-d26d-4a76-bc3f-7bd4c3550ebd)
Author
Owner

@dlovep commented on GitHub (Mar 4, 2024):

Tried Depth Lib, same no new tab
image

<!-- gh-comment-id:1975760710 --> @dlovep commented on GitHub (Mar 4, 2024): Tried Depth Lib, same no new tab ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/4ac89535-e6ba-4e4c-8edc-f00d1e88e8df)
Author
Owner

@Haoming02 commented on GitHub (Mar 4, 2024):

Opened an Issue there

Please follow up there with your infos

<!-- gh-comment-id:1975803685 --> @Haoming02 commented on GitHub (Mar 4, 2024): Opened an [Issue](https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/15114) there Please follow up there with your infos
Author
Owner

@Haoming02 commented on GitHub (Mar 4, 2024):

@dlovep Can you try installing the Webui on your main drive (C:) ?

<!-- gh-comment-id:1975806015 --> @Haoming02 commented on GitHub (Mar 4, 2024): @dlovep Can you try installing the Webui on your main drive (`C:`) ?
Author
Owner

@dlovep commented on GitHub (Mar 4, 2024):

@dlovep Can you try installing the Webui on your main drive (C:) ?

Tried on C: same, no BOP tab and no Depth Lab tab as well.
image

<!-- gh-comment-id:1975865699 --> @dlovep commented on GitHub (Mar 4, 2024): > @dlovep Can you try installing the Webui on your main drive (`C:`) ? Tried on C: same, no BOP tab and no Depth Lab tab as well. ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/24e83431-ed8c-43be-9ec9-1f5022f950f7)
Author
Owner

@dlovep commented on GitHub (Mar 4, 2024):

I tired A1111 1.6 fresh install, Depth Lab and BOP, only Depth Lab shows up.
image

<!-- gh-comment-id:1976139638 --> @dlovep commented on GitHub (Mar 4, 2024): I tired A1111 1.6 fresh install, Depth Lab and BOP, only Depth Lab shows up. ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/971b5f4b-722e-406d-bd36-2a159c2acd25)
Author
Owner

@Haoming02 commented on GitHub (Mar 4, 2024):

Huh...

And still no Error in the console?

<!-- gh-comment-id:1976142779 --> @Haoming02 commented on GitHub (Mar 4, 2024): Huh... And still no Error in the console?
Author
Owner

@dlovep commented on GitHub (Mar 4, 2024):

No error at all...
image

<!-- gh-comment-id:1976172162 --> @dlovep commented on GitHub (Mar 4, 2024): No error at all... ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/a61a1a35-4283-4e7a-85a2-a9db96e0414e)
Author
Owner

@alexsohn commented on GitHub (Mar 5, 2024):

I am having the same issue but I lazily installed it using the extension installer in A1111, also I'm on an older version

<!-- gh-comment-id:1977988022 --> @alexsohn commented on GitHub (Mar 5, 2024): I am having the same issue but I lazily installed it using the extension installer in A1111, also I'm on an older version
Author
Owner

@dlovep commented on GitHub (Mar 14, 2024):

I am having the same issue but I lazily installed it using the extension installer in A1111, also I'm on an older version

Can you share what version of A1111 ?

<!-- gh-comment-id:1996369496 --> @dlovep commented on GitHub (Mar 14, 2024): > I am having the same issue but I lazily installed it using the extension installer in A1111, also I'm on an older version Can you share what version of A1111 ?
Author
Owner

@sergioB79 commented on GitHub (Mar 21, 2024):

Hi, I tried a few different ways, and I don't see the "BOP" tab on any of my installations. Other tabs appear and work. Can it be because SD is not installed on C: ? I Don't have space on C: so i can't try it.

<!-- gh-comment-id:2013812546 --> @sergioB79 commented on GitHub (Mar 21, 2024): Hi, I tried a few different ways, and I don't see the "BOP" tab on any of my installations. Other tabs appear and work. Can it be because SD is not installed on C: ? I Don't have space on C: so i can't try it.
Author
Owner

@Haoming02 commented on GitHub (Mar 25, 2024):

Hello everyone, please check out the latest commit.

The extension is now rewritten into the Extras tab instead.

<!-- gh-comment-id:2017201686 --> @Haoming02 commented on GitHub (Mar 25, 2024): Hello everyone, please check out the latest commit. The extension is now rewritten into the **Extras** tab instead.
Author
Owner

@dlovep commented on GitHub (Mar 25, 2024):

I reinstall 1.7 vanilla and add extension from scratch also paste those zip file in the folder... Still nothing in Extra, also tested 1.8 same...
image
image

<!-- gh-comment-id:2017705830 --> @dlovep commented on GitHub (Mar 25, 2024): I reinstall 1.7 vanilla and add extension from scratch also paste those zip file in the folder... Still nothing in Extra, also tested 1.8 same... ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/ee317d7c-4ea3-4ab9-809f-41683b047bbf) ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/817839c2-99e1-405c-8fce-b690e76db585)
Author
Owner

@dlovep commented on GitHub (Mar 26, 2024):

Once I installed the other extension in 1.7 for testing sd-webui-cn-in-extras-tab
It shows the error message for BOP as well.

image

<!-- gh-comment-id:2019132300 --> @dlovep commented on GitHub (Mar 26, 2024): Once I installed the other extension in 1.7 for testing sd-webui-cn-in-extras-tab It shows the error message for BOP as well. ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/4561e927-5a3a-4590-aa31-5d58f69a2180)
Author
Owner

@dlovep commented on GitHub (Mar 26, 2024):

Looks like a dlib issue, I tried a few updates still failed to run dlib, even installed a specific dlib https://github.com/Murtaza-Saeed/dlib, no dice.
image

<!-- gh-comment-id:2019173411 --> @dlovep commented on GitHub (Mar 26, 2024): Looks like a dlib issue, I tried a few updates still failed to run dlib, even installed a specific dlib https://github.com/Murtaza-Saeed/dlib, no dice. ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/dc45f57e-a4b1-4b67-b3da-b81571b597fa)
Author
Owner

@Haoming02 commented on GitHub (Mar 26, 2024):

If it's about dlib, then refer to #4

TL;DR:

  1. Install VS 2022 C++
  2. Install CMake
  3. Download a pre-built package for dlib
<!-- gh-comment-id:2019216082 --> @Haoming02 commented on GitHub (Mar 26, 2024): If it's about `dlib`, then refer to #4 **TL;DR:** 1. Install VS 2022 C++ 2. Install CMake 3. Download a pre-built package for `dlib`
Author
Owner

@dlovep commented on GitHub (Mar 26, 2024):

If it's about dlib, then refer to #4

TL;DR:

1. Install VS 2022 C++

2. Install CMake

3. Download a pre-built package for `dlib`

YAY ! finally it works, showing in Extra tab:
image

I am suspecting both CMake and dlib causing the issue, once I update the VS 2019 & 2022 to include the Desktop C++ development, checked the box CMake in VS, an I install CMake again using this link https://cmake.org/download/
also mark sure the environment path is pointing to (your drive):\ProgramFile\CMake\bin

re run again using pip install dlib, throw some warnings but still go thru.
image

<!-- gh-comment-id:2019250338 --> @dlovep commented on GitHub (Mar 26, 2024): > If it's about `dlib`, then refer to #4 > > **TL;DR:** > > 1. Install VS 2022 C++ > > 2. Install CMake > > 3. Download a pre-built package for `dlib` YAY ! finally it works, showing in Extra tab: ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/d4ab1b2d-819e-434a-b449-b5bfc2c9350a) I am suspecting both CMake and dlib causing the issue, once I update the VS 2019 & 2022 to include the Desktop C++ development, checked the box CMake in VS, an I install CMake again using this link https://cmake.org/download/ also mark sure the environment path is pointing to (your drive):\ProgramFile\CMake\bin re run again using pip install dlib, throw some warnings but still go thru. ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/119c8314-e5f3-4129-a625-628a4cd7d141)
Author
Owner

@Haoming02 commented on GitHub (Mar 26, 2024):

So was it always simply caused by dlib...?

Why did the console not mention the failed installation of dlib though.

I'm hating the new install.py more and more each day... Why did they hide every single information during the installation...

<!-- gh-comment-id:2019252434 --> @Haoming02 commented on GitHub (Mar 26, 2024): So was it always simply caused by `dlib`...? Why did the console not mention the failed installation of `dlib` though. I'm hating the new `install.py` more and more each day... Why did they hide every single information during the installation...
Author
Owner

@dlovep commented on GitHub (Mar 26, 2024):

So was it always simply caused by dlib...?

Why did the console not mention the failed installation of dlib though.

I'm hating the new install.py more and more each day... Why did they hide every single information during the installation...

That's the error message only show up in older version like SD1.7, on SD1.8 nothing shows up in console and therefore no-one know what's missing, I tried a few things even with --enable-insecure-extension-access on SD1.8 still not a single error show up.

<!-- gh-comment-id:2019260912 --> @dlovep commented on GitHub (Mar 26, 2024): > So was it always simply caused by `dlib`...? > > Why did the console not mention the failed installation of `dlib` though. > > I'm hating the new `install.py` more and more each day... Why did they hide every single information during the installation... That's the error message only show up in older version like SD1.7, on SD1.8 nothing shows up in console and therefore no-one know what's missing, I tried a few things even with --enable-insecure-extension-access on SD1.8 still not a single error show up.
Author
Owner

@dlovep commented on GitHub (Mar 26, 2024):

Tested update on SD1.8 as expected not a single error on BOP...
image

But once fixed those 3 below and it run perfect in Extra tab.
image

Highly likely the dlib is the culprit and blame SD1.8 for hiding the errors.
image

<!-- gh-comment-id:2019286936 --> @dlovep commented on GitHub (Mar 26, 2024): Tested update on SD1.8 as expected not a single error on BOP... ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/6958fb51-f0b1-4fcb-8434-abc005dfb506) But once fixed those 3 below and it run perfect in Extra tab. ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/604d4870-23ea-4655-b93a-76b6bda316f7) Highly likely the dlib is the culprit and blame SD1.8 for hiding the errors. ![image](https://github.com/Haoming02/sd-webui-old-photo-restoration/assets/15388363/cd668b36-3b90-4abd-8eb0-3d9808ef94b6)
Author
Owner

@alexsohn commented on GitHub (Mar 28, 2024):

I can also confirm that installing dlib has fixed this error.

<!-- gh-comment-id:2024866032 --> @alexsohn commented on GitHub (Mar 28, 2024): I can also confirm that installing dlib has fixed this error.
Author
Owner
<!-- gh-comment-id:2058331484 --> @Haoming02 commented on GitHub (Apr 16, 2024): **TL;DR:** Refer to https://github.com/Haoming02/sd-webui-old-photo-restoration#extension-not-showing-up
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Haoming02/sd-webui-old-photo-restoration#4
No description provided.