-
Notifications
You must be signed in to change notification settings - Fork 154
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
ModuleNotFoundError: No module named 'ldm_patched' when running main.py #351
Comments
I would suggest you upgrade to the latest version. |
I have tested the current code in the repository, and it works perfectly on the first attempt. However, the problem arises when I run this command: docker run -d --name fooocus-api --restart unless-stopped --gpus=all \
-e NVIDIA_DRIVER_CAPABILITIES=compute,utility \
-e NVIDIA_VISIBLE_DEVICES=all \
-v /home/carlosvillu/Development/Fooocus-API-docker/repositories:/app/repositories \
-v ~/.cache/pip:/root/.cache/pip \
-p 2025:8888 konieshadow/fooocus-api I believe the issue is not with the repository itself but with the published Docker image. Output:
|
我发布了一个新的 Docker 镜像,将 I have released a new Docker image, and synchronizes |
@mrhan1993 's suggestion works, however there are a few more steps required to get Fooocus to generate images:
|
Description:
When attempting to run
main.py
with the command['main.py', '--host', '0.0.0.0', '--port', '8888']
, I encountered aModuleNotFoundError
related toldm_patched
. Below are the details of the error:Error Message:
Steps to Reproduce:
['main.py', '--host', '0.0.0.0', '--port', '8888']
in the terminal.ldm_patched
module is not found.Expected Behavior:
The script should run without errors, initializing the Fooocus API as expected.
Actual Behavior:
The script fails to run, raising a
ModuleNotFoundError
for theldm_patched
module.Environment:
Additional Information:
It appears that the
ldm_patched
module is either missing or not installed in the environment. Could you provide guidance on how to resolve this issue? Is there a specific package or dependency that needs to be installed?Thank you for your assistance!
The text was updated successfully, but these errors were encountered: