Jump to content

neopterygii

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by neopterygii

  1. 32 minutes ago, mickr777 said:

    Make sure you have rebuild the container with the new chages in the main post, and Trying delete everything in the invokeai/invokeai (leave userfiles and venv alone) folder and allow it git clone that folder again

    Thanks, looks like somewhere along the way the invokeai folder permissions changed to root;

     

    Cloning into 'InvokeAI'...
    /home/invokeuser/InvokeAI/.git: Permission denied

     

    looks like it's loading properly after adjusting them

    • Like 1
  2. On 3/3/2023 at 5:48 PM, mickr777 said:

    Due to a major source tree restructure on the invokeai git the main start.sh script had to be changed,

     

    if you did a manual install the changes are in the main post under start.sh code,

    if you are using the docker repository install I have pushed the changes already you should get a update notice.

    Hi mickr777,

     

    Thanks for maintaining this image.  Seeing this after the latest update:

     

    >> Initialization file /home/invokeuser/userfiles/invokeai.init found. Loading...
    * Initializing, be patient...
    >> Internet connectivity is True
    >> InvokeAI, version 3.0.0+a0
    >> InvokeAI runtime directory is "/home/invokeuser/userfiles"
    >> GFPGAN Initialized
    >> CodeFormer Initialized
    >> ESRGAN Initialized
    >> Using device_type cuda
    >> xformers memory-efficient attention is available and enabled
    >> NSFW checker is disabled
    >> Current VRAM usage:  0.00G
    >> Loading diffusers model from runwayml/stable-diffusion-v1-5
      | Using faster float16 precision
      | Loading diffusers VAE from stabilityai/sd-vae-ft-mse
    Fetching 15 files: 100%|██████████| 15/15 [00:00<00:00, 173318.35it/s]
      | Default image dimensions = 512 x 512
    >> Model loaded in 6.48s
    >> Max VRAM used to load the model: 2.17G
    >> Current VRAM usage:2.17G
    >> Loading embeddings from /home/invokeuser/userfiles/embeddings
    >> Textual inversion triggers:
    >> Setting Sampler to k_lms (LMSDiscreteScheduler)
    
    * --web was specified, starting web server...
    ╭───────────────────── Traceback (most recent call last) ──────────────────────╮
    │ /home/invokeuser/venv/bin/invokeai:8 in <module>                             │
    │                                                                              │
    │   5 from invokeai.frontend.CLI import invokeai_command_line_interface        │
    │   6 if __name__ == '__main__':                                               │
    │   7 │   sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])     │
    │ ❱ 8 │   sys.exit(invokeai_command_line_interface())                          │
    │   9                                                                          │
    │                                                                              │
    │ /home/invokeuser/InvokeAI/invokeai/frontend/CLI/CLI.py:170 in main           │
    │                                                                              │
    │    167 │                                                                     │
    │    168 │   # web server loops forever                                        │
    │    169 │   if opt.web or opt.gui:                                            │
    │ ❱  170 │   │   invoke_ai_web_server_loop(gen, gfpgan, codeformer, esrgan)    │
    │    171 │   │   sys.exit(0)                                                   │
    │    172 │                                                                     │
    │    173 │   if not infile:                                                    │
    │                                                                              │
    │ /home/invokeuser/InvokeAI/invokeai/frontend/CLI/CLI.py:1027 in               │
    │ invoke_ai_web_server_loop                                                    │
    │                                                                              │
    │   1024                                                                       │
    │   1025 def invoke_ai_web_server_loop(gen: Generate, gfpgan, codeformer, esrg │
    │   1026 │   print("\n* --web was specified, starting web server...")          │
    │ ❱ 1027 │   from invokeai.backend.web import InvokeAIWebServer                │
    │   1028 │                                                                     │
    │   1029 │   # Change working directory to the stable-diffusion directory      │
    │   1030 │   os.chdir(os.path.abspath(os.path.join(os.path.dirname(__file__),  │
    │                                                                              │
    │ /home/invokeuser/InvokeAI/invokeai/backend/web/__init__.py:4 in <module>     │
    │                                                                              │
    │   1 """                                                                      │
    │   2 Initialization file for the web backend.                                 │
    │   3 """                                                                      │
    │ ❱ 4 from .invoke_ai_web_server import InvokeAIWebServer                      │
    │   5                                                                          │
    │                                                                              │
    │ /home/invokeuser/InvokeAI/invokeai/backend/web/invoke_ai_web_server.py:22 in │
    │ <module>                                                                     │
    │                                                                              │
    │     19 from PIL.Image import Image as ImageType                              │
    │     20 from werkzeug.utils import secure_filename                            │
    │     21                                                                       │
    │ ❱   22 import invokeai.frontend.web.dist as frontend                         │
    │     23                                                                       │
    │     24 from .. import Generate                                               │
    │     25 from ..args import APP_ID, APP_VERSION, Args, calculate_init_img_hash │
    ╰──────────────────────────────────────────────────────────────────────────────╯
    ModuleNotFoundError: No module named 'invokeai.frontend.web'

     

×
×
  • Create New...