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

Not showing up. #58

Open
AnzacA1 opened this issue Mar 15, 2024 · 35 comments
Open

Not showing up. #58

AnzacA1 opened this issue Mar 15, 2024 · 35 comments

Comments

@AnzacA1
Copy link

AnzacA1 commented Mar 15, 2024

I've installed via URL as instructed, but the new tab page is not appearing. The extension is enabled.

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

What error did the command line output?

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

I'm not sure you understand the issue. I've installed the extension, it's in the list and it's enabled, but the new Tab for it isn't there.

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

Did you restart sd-webui after installing the extension?

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

I did. Several times.

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

You should be reporting some errors on the command line running sd-webui, what does the cmd window output?

@liasece liasece closed this as completed Mar 16, 2024
@liasece liasece reopened this Mar 16, 2024
@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

Let me check quickly.

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

"Error loading script: train_tools.py", then a a bunch of stuff, followed by "ModuleNotFoundError: No module named 'liasece_sd_webui_train_tools.sd_scripts.train_network'".

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

Pls post the full log messages.

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

Error loading script: train_tools.py
Traceback (most recent call last):
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\modules\scripts.py", line 544, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\scripts\train_tools.py", line 7, in
from liasece_sd_webui_train_tools.ui import *
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\ui.py", line 16, in
from liasece_sd_webui_train_tools.train_ui import *
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\train_ui.py", line 10, in
from liasece_sd_webui_train_tools import train
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\train.py", line 8, in
from liasece_sd_webui_train_tools.ArgsList import ArgStore
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\ArgsList.py", line 23, in
import liasece_sd_webui_train_tools.sd_scripts.train_network as train_network
ModuleNotFoundError: No module named 'liasece_sd_webui_train_tools.sd_scripts.train_network'

@Bocchi-Chan2023
Copy link

Pls post the full log messages.

*** Error running install.py for extension C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools.
*** Command: "C:\Users\username\Downloads\webui_forge_cu121_torch21\system\python\python.exe" "C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\install.py"
*** Error code: 1
*** stderr: Traceback (most recent call last):
*** File "C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\install.py", line 8, in
*** repo.git.submodule("update", "--init", "--recursive", "--force")
*** File "C:\Users\username\Downloads\webui_forge_cu121_torch21\system\python\lib\site-packages\git\cmd.py", line 741, in
*** return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
*** File "C:\Users\username\Downloads\webui_forge_cu121_torch21\system\python\lib\site-packages\git\cmd.py", line 1315, in _call_process
*** return self.execute(call, **exec_kwargs)
*** File "C:\Users\username\Downloads\webui_forge_cu121_torch21\system\python\lib\site-packages\git\cmd.py", line 1109, in execute
*** raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
*** git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
*** cmdline: git submodule update --init --recursive --force
*** stderr: 'git: 'submodule' is not a git command. See 'git --help'.

*** Error loading script: train_tools.py
Traceback (most recent call last):
File "C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\modules\scripts.py", line 544, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\scripts\train_tools.py", line 7, in
from liasece_sd_webui_train_tools.ui import *
File "C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\ui.py", line 16, in
from liasece_sd_webui_train_tools.train_ui import *
File "C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\train_ui.py", line 10, in
from liasece_sd_webui_train_tools import train
File "C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\train.py", line 8, in
from liasece_sd_webui_train_tools.ArgsList import ArgStore
File "C:\Users\username\Downloads\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\ArgsList.py", line 23, in
import liasece_sd_webui_train_tools.sd_scripts.train_network as train_network
ModuleNotFoundError: No module named 'liasece_sd_webui_train_tools.sd_scripts.train_network'

I'm using forge diffusion on windows

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

Same here. Also using Forge on Windows.

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

stderr: 'git: 'submodule' is not a git command. See 'git --help'. is the key.

Maybe your version of git is too old. Update git and try agin. Git for windows https://git-scm.com/download/win

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

Same #14

@Bocchi-Chan2023
Copy link

stderr: 'git: 'submodule' is not a git command. See 'git --help'. is the key.

Maybe your version of git is too old. Update git and try agin. Git for windows https://git-scm.com/download/win

No, I've already installed latest git, but still showing that error

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

Fully updated.

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

What does git --version output?

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

Where do I put that?

@Bocchi-Chan2023
Copy link

What does git --version output?

git version 2.44.0.windows.1

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

This seems to be a bit complicated, for now, let's standardize the way we start sd-webui, let's start webui via git bash. you should be able to search for git bash in windows search

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

Don't have git. Forge seemingly doesn't need it.

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

If you do this by just double-clicking webui-user.bat, I'm not sure where you'll be using your git to perform the action, as your git may not be in the PATH, or another git may be found in the PATH.

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

Installing Git now. What editor should I use?

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

Don't have git. Forge seemingly doesn't need it.

This plugin initialization requires git because it needs to pull the sd_script repository. What does this have to do with Forge?

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

It's what I'm using! Which this Train Tool supposedly works with.

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

Okay Git is installed. Now what?

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

I'm getting MORE error messages now.

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

Error running install.py for extension E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools.
*** Command: "E:\Pictures\Art Generation\webui_forge_cu121_torch21\system\python\python.exe" "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\install.py"
*** Error code: 1
*** stderr: Traceback (most recent call last):
*** File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\install.py", line 8, in
*** repo.git.submodule("update", "--init", "--recursive", "--force")
*** File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\system\python\lib\site-packages\git\cmd.py", line 741, in
*** return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
*** File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\system\python\lib\site-packages\git\cmd.py", line 1315, in _call_process
*** return self.execute(call, **exec_kwargs)
*** File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\system\python\lib\site-packages\git\cmd.py", line 1109, in execute
*** raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
*** git.exc.GitCommandError: Cmd('git') failed due to: exit code(1)
*** cmdline: git submodule update --init --recursive --force
*** stderr: 'git: 'submodule' is not a git command. See 'git --help'.'
Launching Web UI with arguments:
Total VRAM 12287 MB, total RAM 16310 MB
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 3060 : native
Hint: your device supports --pin-shared-memory for potential speed improvements.
Hint: your device supports --cuda-malloc for potential speed improvements.
Hint: your device supports --cuda-stream for potential speed improvements.
VAE dtype: torch.bfloat16
CUDA Stream Activated: False
Using pytorch cross attention
ControlNet preprocessor location: E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\models\ControlNetPreprocessor
*** Error loading script: train_tools.py
Traceback (most recent call last):
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\modules\scripts.py", line 544, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\modules\script_loading.py", line 10, in load_module
module_spec.loader.exec_module(module)
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\scripts\train_tools.py", line 7, in
from liasece_sd_webui_train_tools.ui import *
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\ui.py", line 16, in
from liasece_sd_webui_train_tools.train_ui import *
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\train_ui.py", line 10, in
from liasece_sd_webui_train_tools import train
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\train.py", line 8, in
from liasece_sd_webui_train_tools.ArgsList import ArgStore
File "E:\Pictures\Art Generation\webui_forge_cu121_torch21\webui\extensions\sd-webui-train-tools\liasece_sd_webui_train_tools\ArgsList.py", line 23, in
import liasece_sd_webui_train_tools.sd_scripts.train_network as train_network
ModuleNotFoundError: No module named 'liasece_sd_webui_train_tools.sd_scripts.train_network'

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

How do I launch Forge through Git Bash?

@liasece
Copy link
Owner

liasece commented Mar 16, 2024

How do I launch Forge through Git Bash?

An easy way to get started with git bash is to right click in your Forge file manager directory and select "Git Bash Here". Then run the start script.

@AnzacA1
Copy link
Author

AnzacA1 commented Mar 16, 2024

What's the file manager directory?

@Bocchi-Chan2023
Copy link

Ok, I found why this module is not working.
The 1click package uses a prebuilt tool, so git cannot be used properly.
You can use it by using git clone and configuring it according to the manual.

@Bocchi-Chan2023
Copy link

btw some errors occured during updating dataset
error.txt

@liasece
Copy link
Owner

liasece commented Mar 18, 2024

btw some errors occured during updating dataset error.txt

What is the format of the dataset image? It may be that the image format is not supported, try changing it to .png format.

@Bocchi-Chan2023
Copy link

btw some errors occured during updating dataset error.txt

What is the format of the dataset image? It may be that the image format is not supported, try changing it to .png format.

serious? I was converting everything to jpg the other way around🤣

@Bocchi-Chan2023
Copy link

can you add fp8 support btw? it is very useful for middle range graphic bords

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

3 participants