invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.34k stars 2.4k forks source link

[bug]: can't install invoke AI #5009

Closed kubapev closed 5 months ago

kubapev commented 11 months ago

Is there an existing issue for this?

OS

Windows

GPU

cuda

VRAM

24

What version did you experience this issue on?

3.3

What happened?

after installling and downloading models i have following message:

A problem was encountered during the configuration and download steps: expected string or bytes-like object To try again, find the "invokeai" directory, run the script "invoke.sh" or "invoke.bat" and choose option 7 to fix a broken install, optionally followed by option 5 to install models. Alternatively you can relaunch the installer.

I have tried relaunching, I have tried deleting invoke ai directory, but it didn't help, the problem persists. what should I do?

Screenshots

No response

Additional context

No response

Contact Details

No response

Millu commented 11 months ago

Seems like there's an issue with one of the models that's being downloaded. Try skipping the download step after the installation step and then adding models from within the UI / using option 5 to install the models

nicholastanx168 commented 11 months ago

I also have this problem as well and I don't know how to fix it

Millu commented 11 months ago

You can ignore this error and go ahead and use InvokeAI by launching it through the invoke.bat / invoke.sh script.

This is caused by a model that used to be included with InvokeAI is no longer available. If you're seeing this screen, it means the installation step was already completed successfully and you're on the model download step.

Related to #5032

nicholastanx168 commented 11 months ago

@Millu thank you for your help. Now I have another issue Desired action:

  1. Generate images with the browser-based interface
  2. Explore InvokeAI nodes using a command-line interface
  3. Run textual inversion training
  4. Merge models (diffusers type only)
  5. Download and install models
  6. Change InvokeAI startup options
  7. Re-run the configure script to fix a broken install or to complete a major upgrade
  8. Open the developer console
  9. Update InvokeAI
  10. Run the InvokeAI image database maintenance script
  11. Command-line help Q - Quit Please enter 1-11, Q: [1] 1 Starting the InvokeAI browser-based UI.. [2023-11-08 14:48:27,868]::[InvokeAI]::INFO --> Patchmatch initialized C:\Users\admin\invokeai.venv\lib\site-packages\torchvision\transforms\functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be removed in 0.17. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional. warnings.warn( [2023-11-08 14:48:31,165]::[uvicorn.error]::INFO --> Started server process [3644] [2023-11-08 14:48:31,165]::[uvicorn.error]::INFO --> Waiting for application startup. [2023-11-08 14:48:31,165]::[InvokeAI]::INFO --> InvokeAI version 3.3.0post3 [2023-11-08 14:48:31,165]::[InvokeAI]::INFO --> Root directory = C:\Users\admin\invokeai [2023-11-08 14:48:31,165]::[InvokeAI]::INFO --> Using database at C:\Users\admin\invokeai\databases\invokeai.db [2023-11-08 14:48:31,165]::[InvokeAI]::INFO --> GPU device = cpu [2023-11-08 14:48:31,181]::[InvokeAI]::INFO --> Scanning C:\Users\admin\invokeai\models for new models [2023-11-08 14:48:31,431]::[InvokeAI]::INFO --> Scanned 9 files and directories, imported 0 models [2023-11-08 14:48:31,431]::[InvokeAI]::INFO --> Model manager service initialized [2023-11-08 14:48:31,446]::[InvokeAI]::INFO --> Pruned 0 finished queue items [2023-11-08 14:48:31,446]::[InvokeAI]::INFO --> Cleaned database [2023-11-08 14:48:31,446]::[uvicorn.error]::INFO --> Application startup complete. [2023-11-08 14:48:31,446]::[uvicorn.error]::INFO --> Uvicorn running on http://127.0.0.1:9090 (Press CTRL+C to quit) [2023-11-08 14:49:39,846]::[uvicorn.error]::INFO --> Shutting down [2023-11-08 14:49:39,955]::[uvicorn.error]::INFO --> Waiting for application shutdown. [2023-11-08 14:49:39,955]::[uvicorn.error]::INFO --> Application shutdown complete. [2023-11-08 14:49:39,955]::[uvicorn.error]::INFO --> Finished server process [3644] Task was destroyed but it is pending! task: <Task pending name='Task-3' coro=<FastAPIEventService.__dispatch_from_queue() running at C:\Users\admin\invokeai.venv\lib\site-packages\invokeai\app\api\events.py:48> wait_for=> Terminate batch job (Y/N)?

What should i do?

Millu commented 11 months ago

@Millu thank you for your help. Now I have another issue

Looks like you quit the server with CTRL+C - did you?

nicholastanx168 commented 11 months ago

Yes, should I just wait???

nicholastanx168 commented 11 months ago

I manage to use it already... hahaha thank you @Millu