Haoming02 / sd-webui-old-photo-restoration

An Extension for Automatic1111 Webui for Bringing Old Photo Back to Life
MIT License
118 stars 6 forks source link

BOP extension don't show #5

Closed NazakaSyndrome closed 7 months ago

NazakaSyndrome commented 10 months ago

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?

Haoming02 commented 10 months ago

Have you restarted your Webui?

algarih commented 9 months ago

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

Haoming02 commented 9 months ago

Have you restarted your Webui?

Any error code?

algarih commented 9 months ago

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)

Haoming02 commented 9 months ago

What's the version of your webui?

algarih commented 9 months ago

version: [v1.7.0]

Haoming02 commented 9 months ago

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...

Haoming02 commented 8 months ago

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

Haoming02 commented 8 months ago

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

dlovep commented 8 months ago

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

Haoming02 commented 8 months ago

Not even the Depth Lib tab?

dlovep commented 8 months ago

Not even the Depth Lib tab?

Nothing at all, no extra tab.

Haoming02 commented 8 months ago

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

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

dlovep commented 8 months ago

Here are other error on loading main.py image

Haoming02 commented 8 months ago

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

dlovep commented 8 months ago

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

dlovep commented 8 months ago

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

dlovep commented 8 months ago

Tried Depth Lib, same no new tab image

Haoming02 commented 8 months ago

Opened an Issue there

Please follow up there with your infos

Haoming02 commented 8 months ago

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

dlovep commented 8 months ago

@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

dlovep commented 8 months ago

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

Haoming02 commented 8 months ago

Huh...

And still no Error in the console?

dlovep commented 8 months ago

No error at all... image

alexsohn commented 8 months ago

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

dlovep commented 8 months ago

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 ?

sergioB79 commented 8 months ago

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.

Haoming02 commented 8 months ago

Hello everyone, please check out the latest commit.

The extension is now rewritten into the Extras tab instead.

dlovep commented 8 months ago

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

dlovep commented 8 months ago

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

dlovep commented 8 months ago

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

Haoming02 commented 8 months ago

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
dlovep commented 8 months ago

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

Haoming02 commented 8 months ago

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...

dlovep commented 8 months ago

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.

dlovep commented 8 months ago

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

alexsohn commented 8 months ago

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

Haoming02 commented 7 months ago

TL;DR: Refer to https://github.com/Haoming02/sd-webui-old-photo-restoration#extension-not-showing-up