דילוג לתוכן
  • חוקי הפורום
  • פופולרי
  • לא נפתר
  • משתמשים
  • חיפוש גוגל בפורום
  • צור קשר
עיצובים
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • ברירת מחדל (ללא עיצוב (ברירת מחדל))
  • ללא עיצוב (ברירת מחדל)
כיווץ
מתמחים טופ
  1. דף הבית
  2. קטגוריות בהרצה
  3. תכנות
  4. בינה מלאכותית - AI
  5. עזרה הדדית - בינה מלאכותית
  6. באג | בעייה בהפעלת תוכנה Fooocus

באג | בעייה בהפעלת תוכנה Fooocus

מתוזמן נעוץ נעול הועבר עזרה הדדית - בינה מלאכותית
2 פוסטים 2 כותבים 108 צפיות 2 עוקבים
  • מהישן לחדש
  • מהחדש לישן
  • הכי הרבה הצבעות
תגובה
  • תגובה כנושא
התחברו כדי לפרסם תגובה
נושא זה נמחק. רק משתמשים עם הרשאות מתאימות יוכלו לצפות בו.
  • A מנותק
    A מנותק
    AVIVI
    כתב נערך לאחרונה על ידי AVIVI
    #1

    תגובה: מדריך | תוספת למדריך ליצירת תמונות אופליין ב Fooocus ללא צורך במעבד גרפי
    התקנתי עם המדריך המשובח של @דניאל-ביטון והחלפתי את קובץ ה run.bat כמו שכתב @טכנופוב ומופיעה לי השגיאה הבאה

    
    C:\Users\admin\Downloads\Fooocus_win64_2-1-831>.\python_embeded\python.exe -s Fooocus\entry_with_update.py --always-cpu 
    Already up-to-date
    Update succeeded.
    [System ARGV] ['Fooocus\\entry_with_update.py', '--always-cpu']
    Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
    Fooocus version: 2.5.5
    Version mismatch for torchsde: Installed version 0.2.5 does not meet requirement torchsde==0.2.6
    Installing requirements
    Couldn't install requirements.
    Command: "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\python_embeded\python.exe" -m pip install -r "requirements_versions.txt" --prefer-binary
    Error code: 1
    stdout: Collecting torchsde==0.2.6 (from -r requirements_versions.txt (line 1))
      Using cached torchsde-0.2.6-py3-none-any.whl.metadata (5.3 kB)
    Collecting einops==0.8.0 (from -r requirements_versions.txt (line 2))
      Using cached einops-0.8.0-py3-none-any.whl.metadata (12 kB)
    Collecting transformers==4.42.4 (from -r requirements_versions.txt (line 3))
      Using cached transformers-4.42.4-py3-none-any.whl.metadata (43 kB)
    Collecting safetensors==0.4.3 (from -r requirements_versions.txt (line 4))
      Using cached safetensors-0.4.3-cp310-none-win_amd64.whl.metadata (3.9 kB)
    Collecting accelerate==0.32.1 (from -r requirements_versions.txt (line 5))
      Using cached accelerate-0.32.1-py3-none-any.whl.metadata (18 kB)
    Collecting pyyaml==6.0.1 (from -r requirements_versions.txt (line 6))
      Using cached PyYAML-6.0.1-cp310-cp310-win_amd64.whl.metadata (2.1 kB)
    Collecting pillow==10.4.0 (from -r requirements_versions.txt (line 7))
      Using cached pillow-10.4.0-cp310-cp310-win_amd64.whl.metadata (9.3 kB)
    Collecting scipy==1.14.0 (from -r requirements_versions.txt (line 8))
      Using cached scipy-1.14.0-cp310-cp310-win_amd64.whl.metadata (60 kB)
    Collecting tqdm==4.66.4 (from -r requirements_versions.txt (line 9))
      Using cached tqdm-4.66.4-py3-none-any.whl.metadata (57 kB)
    Collecting psutil==6.0.0 (from -r requirements_versions.txt (line 10))
      Using cached psutil-6.0.0-cp37-abi3-win_amd64.whl.metadata (22 kB)
    Collecting pytorch_lightning==2.3.3 (from -r requirements_versions.txt (line 11))
      Using cached pytorch_lightning-2.3.3-py3-none-any.whl.metadata (21 kB)
    Collecting omegaconf==2.3.0 (from -r requirements_versions.txt (line 12))
      Using cached omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
    Requirement already satisfied: gradio==3.41.2 in c:\users\admin\downloads\fooocus_win64_2-1-831\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 13)) (3.41.2)
    Collecting pygit2==1.15.1 (from -r requirements_versions.txt (line 14))
      Using cached pygit2-1.15.1-cp310-cp310-win_amd64.whl.metadata (3.4 kB)
    Collecting opencv-contrib-python-headless==4.10.0.84 (from -r requirements_versions.txt (line 15))
      Using cached opencv_contrib_python_headless-4.10.0.84-cp37-abi3-win_amd64.whl.metadata (20 kB)
    Collecting httpx==0.27.0 (from -r requirements_versions.txt (line 16))
      Using cached httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)
    Collecting onnxruntime==1.18.1 (from -r requirements_versions.txt (line 17))
      Using cached onnxruntime-1.18.1-cp310-cp310-win_amd64.whl.metadata (4.5 kB)
    Collecting timm==1.0.7 (from -r requirements_versions.txt (line 18))
      Using cached timm-1.0.7-py3-none-any.whl.metadata (47 kB)
    Collecting numpy==1.26.4 (from -r requirements_versions.txt (line 19))
      Using cached numpy-1.26.4-cp310-cp310-win_amd64.whl.metadata (61 kB)
    Collecting tokenizers==0.19.1 (from -r requirements_versions.txt (line 20))
      Using cached tokenizers-0.19.1-cp310-none-win_amd64.whl.metadata (6.9 kB)
    Collecting packaging==24.1 (from -r requirements_versions.txt (line 21))
      Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
    Collecting rembg==2.0.57 (from -r requirements_versions.txt (line 22))
      Using cached rembg-2.0.57-py3-none-any.whl.metadata (16 kB)
    Collecting groundingdino-py==0.4.0 (from -r requirements_versions.txt (line 23))
      Using cached groundingdino-py-0.4.0.tar.gz (82 kB)
      Preparing metadata (setup.py): started
      Preparing metadata (setup.py): finished with status 'error'
    
    stderr:   error: subprocess-exited-with-error
    
      python setup.py egg_info did not run successfully.
      exit code: 1
    
      [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\admin\AppData\Local\Temp\pip-install-arx72xa3\groundingdino-py_0d90a9afead0476d813597a1503007eb\setup.py", line 41, in <module>
          readme = readme_file.read()
        File "encodings\cp1255.py", line 23, in decode
      UnicodeDecodeError: 'charmap' codec can't decode byte 0x9f in position 2877: character maps to <undefined>
      [end of output]
    
      note: This error originates from a subprocess, and is likely not a problem with pip.
    error: metadata-generation-failed
    
    Encountered error while generating package metadata.
    
    See above for output.
    
    note: This is an issue with the package mentioned above, not pip.
    hint: See above for details.
    
    CMD Failed requirements: install -r "requirements_versions.txt"
    [Cleanup] Attempting to delete content of temp dir C:\Users\admin\AppData\Local\Temp\fooocus
    [Cleanup] Cleanup successful
    Running on 4 CPU threads
    Total VRAM 7935 MB, total RAM 7935 MB
    Set vram state to: DISABLED
    Always offload VRAM
    Device: cpu
    VAE dtype: torch.float32
    Traceback (most recent call last):
      File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\entry_with_update.py", line 46, in <module>
        from launch import *
      File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\launch.py", line 152, in <module>
        from webui import *
      File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\webui.py", line 10, in <module>
        import modules.async_worker as worker
      File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\modules\async_worker.py", line 3, in <module>
        from extras.inpaint_mask import generate_mask_from_image, SAMOptions
      File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\extras\inpaint_mask.py", line 6, in <module>
        from extras.GroundingDINO.util.inference import default_groundingdino
      File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\extras\GroundingDINO\util\inference.py", line 9, in <module>
        import supervision as sv
    ModuleNotFoundError: No module named 'supervision'
    
    C:\Users\admin\Downloads\Fooocus_win64_2-1-831>pause
    Press any key to continue . . .
    
    

    בעזרת השם נעשה ונצליח....

    NH.LOCALN תגובה 1 תגובה אחרונה
    0
    • A AVIVI

      תגובה: מדריך | תוספת למדריך ליצירת תמונות אופליין ב Fooocus ללא צורך במעבד גרפי
      התקנתי עם המדריך המשובח של @דניאל-ביטון והחלפתי את קובץ ה run.bat כמו שכתב @טכנופוב ומופיעה לי השגיאה הבאה

      
      C:\Users\admin\Downloads\Fooocus_win64_2-1-831>.\python_embeded\python.exe -s Fooocus\entry_with_update.py --always-cpu 
      Already up-to-date
      Update succeeded.
      [System ARGV] ['Fooocus\\entry_with_update.py', '--always-cpu']
      Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec  6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
      Fooocus version: 2.5.5
      Version mismatch for torchsde: Installed version 0.2.5 does not meet requirement torchsde==0.2.6
      Installing requirements
      Couldn't install requirements.
      Command: "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\python_embeded\python.exe" -m pip install -r "requirements_versions.txt" --prefer-binary
      Error code: 1
      stdout: Collecting torchsde==0.2.6 (from -r requirements_versions.txt (line 1))
        Using cached torchsde-0.2.6-py3-none-any.whl.metadata (5.3 kB)
      Collecting einops==0.8.0 (from -r requirements_versions.txt (line 2))
        Using cached einops-0.8.0-py3-none-any.whl.metadata (12 kB)
      Collecting transformers==4.42.4 (from -r requirements_versions.txt (line 3))
        Using cached transformers-4.42.4-py3-none-any.whl.metadata (43 kB)
      Collecting safetensors==0.4.3 (from -r requirements_versions.txt (line 4))
        Using cached safetensors-0.4.3-cp310-none-win_amd64.whl.metadata (3.9 kB)
      Collecting accelerate==0.32.1 (from -r requirements_versions.txt (line 5))
        Using cached accelerate-0.32.1-py3-none-any.whl.metadata (18 kB)
      Collecting pyyaml==6.0.1 (from -r requirements_versions.txt (line 6))
        Using cached PyYAML-6.0.1-cp310-cp310-win_amd64.whl.metadata (2.1 kB)
      Collecting pillow==10.4.0 (from -r requirements_versions.txt (line 7))
        Using cached pillow-10.4.0-cp310-cp310-win_amd64.whl.metadata (9.3 kB)
      Collecting scipy==1.14.0 (from -r requirements_versions.txt (line 8))
        Using cached scipy-1.14.0-cp310-cp310-win_amd64.whl.metadata (60 kB)
      Collecting tqdm==4.66.4 (from -r requirements_versions.txt (line 9))
        Using cached tqdm-4.66.4-py3-none-any.whl.metadata (57 kB)
      Collecting psutil==6.0.0 (from -r requirements_versions.txt (line 10))
        Using cached psutil-6.0.0-cp37-abi3-win_amd64.whl.metadata (22 kB)
      Collecting pytorch_lightning==2.3.3 (from -r requirements_versions.txt (line 11))
        Using cached pytorch_lightning-2.3.3-py3-none-any.whl.metadata (21 kB)
      Collecting omegaconf==2.3.0 (from -r requirements_versions.txt (line 12))
        Using cached omegaconf-2.3.0-py3-none-any.whl.metadata (3.9 kB)
      Requirement already satisfied: gradio==3.41.2 in c:\users\admin\downloads\fooocus_win64_2-1-831\python_embeded\lib\site-packages (from -r requirements_versions.txt (line 13)) (3.41.2)
      Collecting pygit2==1.15.1 (from -r requirements_versions.txt (line 14))
        Using cached pygit2-1.15.1-cp310-cp310-win_amd64.whl.metadata (3.4 kB)
      Collecting opencv-contrib-python-headless==4.10.0.84 (from -r requirements_versions.txt (line 15))
        Using cached opencv_contrib_python_headless-4.10.0.84-cp37-abi3-win_amd64.whl.metadata (20 kB)
      Collecting httpx==0.27.0 (from -r requirements_versions.txt (line 16))
        Using cached httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)
      Collecting onnxruntime==1.18.1 (from -r requirements_versions.txt (line 17))
        Using cached onnxruntime-1.18.1-cp310-cp310-win_amd64.whl.metadata (4.5 kB)
      Collecting timm==1.0.7 (from -r requirements_versions.txt (line 18))
        Using cached timm-1.0.7-py3-none-any.whl.metadata (47 kB)
      Collecting numpy==1.26.4 (from -r requirements_versions.txt (line 19))
        Using cached numpy-1.26.4-cp310-cp310-win_amd64.whl.metadata (61 kB)
      Collecting tokenizers==0.19.1 (from -r requirements_versions.txt (line 20))
        Using cached tokenizers-0.19.1-cp310-none-win_amd64.whl.metadata (6.9 kB)
      Collecting packaging==24.1 (from -r requirements_versions.txt (line 21))
        Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
      Collecting rembg==2.0.57 (from -r requirements_versions.txt (line 22))
        Using cached rembg-2.0.57-py3-none-any.whl.metadata (16 kB)
      Collecting groundingdino-py==0.4.0 (from -r requirements_versions.txt (line 23))
        Using cached groundingdino-py-0.4.0.tar.gz (82 kB)
        Preparing metadata (setup.py): started
        Preparing metadata (setup.py): finished with status 'error'
      
      stderr:   error: subprocess-exited-with-error
      
        python setup.py egg_info did not run successfully.
        exit code: 1
      
        [7 lines of output]
        Traceback (most recent call last):
          File "<string>", line 2, in <module>
          File "<pip-setuptools-caller>", line 34, in <module>
          File "C:\Users\admin\AppData\Local\Temp\pip-install-arx72xa3\groundingdino-py_0d90a9afead0476d813597a1503007eb\setup.py", line 41, in <module>
            readme = readme_file.read()
          File "encodings\cp1255.py", line 23, in decode
        UnicodeDecodeError: 'charmap' codec can't decode byte 0x9f in position 2877: character maps to <undefined>
        [end of output]
      
        note: This error originates from a subprocess, and is likely not a problem with pip.
      error: metadata-generation-failed
      
      Encountered error while generating package metadata.
      
      See above for output.
      
      note: This is an issue with the package mentioned above, not pip.
      hint: See above for details.
      
      CMD Failed requirements: install -r "requirements_versions.txt"
      [Cleanup] Attempting to delete content of temp dir C:\Users\admin\AppData\Local\Temp\fooocus
      [Cleanup] Cleanup successful
      Running on 4 CPU threads
      Total VRAM 7935 MB, total RAM 7935 MB
      Set vram state to: DISABLED
      Always offload VRAM
      Device: cpu
      VAE dtype: torch.float32
      Traceback (most recent call last):
        File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\entry_with_update.py", line 46, in <module>
          from launch import *
        File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\launch.py", line 152, in <module>
          from webui import *
        File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\webui.py", line 10, in <module>
          import modules.async_worker as worker
        File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\modules\async_worker.py", line 3, in <module>
          from extras.inpaint_mask import generate_mask_from_image, SAMOptions
        File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\extras\inpaint_mask.py", line 6, in <module>
          from extras.GroundingDINO.util.inference import default_groundingdino
        File "C:\Users\admin\Downloads\Fooocus_win64_2-1-831\Fooocus\extras\GroundingDINO\util\inference.py", line 9, in <module>
          import supervision as sv
      ModuleNotFoundError: No module named 'supervision'
      
      C:\Users\admin\Downloads\Fooocus_win64_2-1-831>pause
      Press any key to continue . . .
      
      
      NH.LOCALN מנותק
      NH.LOCALN מנותק
      NH.LOCAL
      מדריכים
      כתב נערך לאחרונה על ידי
      #2

      @AVIVI זה נראה כמו בעיה בנתיב הקובץ שגורם לבעיה בהתקנת הרכיבים הדרושים

      תנסה להעביר את תיקית התוכנה לתיקיה שלא מכילה אותיות בעברית

      לכל הפרוייקטים שלי
      https://nhlocal.github.io

      תגובה 1 תגובה אחרונה
      1

      • התחברות

      • אין לך חשבון עדיין? הרשמה

      • התחברו או הירשמו כדי לחפש.
      • פוסט ראשון
        פוסט אחרון
      0
      • חוקי הפורום
      • פופולרי
      • לא נפתר
      • משתמשים
      • חיפוש גוגל בפורום
      • צור קשר