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

完整执行了所有的安装步骤,但是启动后出现以下报错,同时训练器的webui无法正常加载 #610

Open
minecraftHCX opened this issue Jan 11, 2025 · 0 comments

Comments

@minecraftHCX
Copy link

11:39:31-661699 INFO SD-Trainer Version: v1.10.0-26-gc18e952
11:39:31-662851 INFO Starting tageditor...
11:39:31-664048 INFO Starting tensorboard...
11:39:31-825893 INFO Server started at http://127.0.0.1:28000
Traceback (most recent call last):
File "/workspace/lora-scripts/gui.py", line 93, in
launch()
File "/workspace/lora-scripts/gui.py", line 88, in launch
uvicorn.run("mikazuki.app:app", host=args.host, port=args.port, log_level="error")
File "/root/miniforge3/lib/python3.10/site-packages/uvicorn/main.py", line 578, in run
server.run()
File "/root/miniforge3/lib/python3.10/site-packages/uvicorn/server.py", line 61, in run
return asyncio.run(self.serve(sockets=sockets))
File "/root/miniforge3/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/root/miniforge3/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/root/miniforge3/lib/python3.10/site-packages/uvicorn/server.py", line 68, in serve
config.load()
File "/root/miniforge3/lib/python3.10/site-packages/uvicorn/config.py", line 473, in load
self.loaded_app = import_from_string(self.app)
File "/root/miniforge3/lib/python3.10/site-packages/uvicorn/importer.py", line 24, in import_from_string
raise exc from None
File "/root/miniforge3/lib/python3.10/site-packages/uvicorn/importer.py", line 21, in import_from_string
module = importlib.import_module(module_str)
File "/root/miniforge3/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/workspace/lora-scripts/mikazuki/app/init.py", line 1, in
from . import application
File "/workspace/lora-scripts/mikazuki/app/application.py", line 15, in
from mikazuki.app.api import load_schemas, load_presets
File "/workspace/lora-scripts/mikazuki/app/api.py", line 23, in
from mikazuki.tagger.interrogator import (available_interrogators,
File "/workspace/lora-scripts/mikazuki/tagger/interrogator.py", line 16, in
from mikazuki.tagger import dbimutils, format
File "/workspace/lora-scripts/mikazuki/tagger/dbimutils.py", line 3, in
import cv2
File "/root/miniforge3/lib/python3.10/site-packages/cv2/init.py", line 181, in
bootstrap()
File "/root/miniforge3/lib/python3.10/site-packages/cv2/init.py", line 153, in bootstrap
native_module = importlib.import_module("cv2")
File "/root/miniforge3/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
(base) root@VM-7-128-ubuntu:/workspace/lora-scripts# TensorFlow installation not found - running with reduced feature set.

NOTE: Using experimental fast data loading logic. To disable, pass
"--load_fast=false" and report issues on GitHub. More details:
tensorflow/tensorboard#4784

TensorBoard 2.10.1 at http://127.0.0.1:6006/ (Press CTRL+C to quit)
image

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

1 participant